jb-checkbox-react
Version:
react mobx checkbox
18 lines (11 loc) • 514 B
Markdown
simple react checkbox with smooth animation
codepen demo: <https://codepen.io/javadbat/pen/GRrzJeP>
run `npm install jb-checkbox-react` to install package with npm
import component in your page `import JBCheckBox from 'jb-checkbox-react'`
use in react render like every other component
`<JBCheckBox label="check this" value={this.checkbox1} onChange={(e)=>this.onChange(e ,'checkbox1')}></JBCheckBox>`
demo image:
