react-leaf-polls
react-leaf-polls copied to clipboard
🍃 Customizable set of poll components for react.
``` [ { id: 0, text: 'Yes', votes: 9999000 }, { id: 1, text: 'No', votes: 1000 }, ], ``` for "multiple" will result in 99% and 0%
Hi, Great package! I just have one but. When I set isVoted={true} and isVotedId={0} animation with the green bar does not work but isVoted is working as the input is...
Make dnd custom or use below? https://www.npmjs.com/package/react-dnd
- [ ] animations - [ ] show % (make calculations) - [ ] show number of votes - [x] show question - [ ] allow decision change
I was wondering what tweaks can I make to style my poll results like this:
polls with very long text on mobile are having the text interfere with the percentages. Failing to customise it so that text falls into the next line