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

Addition of an extra state so that it behaves as a tri state switch #138

Closed vjr12 closed 4 years ago

vjr12 commented 5 years ago

Want to implement something like a switch that has three states, "ENABLED,PENDING,DISABLED" . Is it possible that something like this can be implemented

Something like this? Screenshot from 2019-08-13 17-14-01

Screenshot from 2019-08-13 17-16-48

Screenshot from 2019-08-13 17-16-35