react-toggle
react-toggle copied to clipboard
Elegant, accessible toggle component for React. Also a glorified checkbox.
Hello, I followed the guide and attempted to use the CommonJS import: `const Toggle = require('react-toggle')` And got these 2 errors: Warning: React.createElement: type is invalid -- expected a string...
Is there an option to display that the toggle is in a processing state, is loading, saving, for example. How?
This component might want to represent an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#Indeterminate_state_checkboxes) state; the UX for that is an open question ("knob" in the middle?). My particular use case is that I'm trying to...
it says that (disabled==true) => enabled component, but it's the opposite (as it should be) just need to fix the docs
Push a substantive PR that gets merged and we'd be glad to add you as a collaborator.
fix #89 toggle revert to old state after swipe
Step to reproduce this error: - click to check - swipe to uncheck - now the toggle is reverted to `checked`. I set some breakpoints and discover that `this.previouslyChecked` has...
I just got bit when `npm install` installed react-toggle v2.2.1 but we're still using react v15.0 which is incompatible due to use of `PureComponent`. It looks like PureComponent was added...
`shallowCompare` is now legacy, but this probably means retiring versions of React that doesn't have `PureComponent`. I'll look at this when I'm not tired and ill.
Can anyone please tell if there is any dependency issue with the current version? I am getting following errors on using latest versions ``` Module not found: Error: Cannot resolve...