luqin / react-icheck

:radio_button: iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.
https://luqin.github.io/react-icheck
177 stars 40 forks source link

Added indeterminate feature #17

Closed alex-e-leon closed 8 years ago

alex-e-leon commented 8 years ago

Added the indeterminate prop to enhancedSwitch which adds the appropriate indeterminate class and then attempts to set the input to indeterminate onMount and onUpdate. See https://github.com/facebook/react/issues/1798 for discussion about setting indeterminate with react.

luqin commented 8 years ago

CI checks have failed

alex-e-leon commented 8 years ago

Ran the linter and tests and fixed it.