aaronshaf / react-toggle

Elegant, accessible toggle component for React. Also a glorified checkbox.
http://aaronshaf.github.io/react-toggle/
MIT License
945 stars 159 forks source link

[FEATURE REQUEST]: can set icons on toggle handler #80

Open geminiyellow opened 7 years ago

geminiyellow commented 7 years ago

@aaronshaf that is a great project. but could you add a flag to set icon on the handler ? like this

image

vijayranghar commented 7 years ago

you could try https://www.npmjs.com/package/reacttoggles

saysmaster commented 4 years ago

Any progress on this? Our design needs something like image

and this is the only reason I cannot yet use this library! Thanks

geminiyellow commented 4 years ago

@saysmaster i make a PR (#81) 2 years ago, but no one merge it. so, sorry, maybe you can switch to other library.