react-switch
react-switch copied to clipboard
Fix/on click
fixed #125
- Added the onClick prop to the Switch component.
- It will be called if passed as a prop from parent component.