# jb-checkbox-react

simple react checkbox with smooth animation
codepen demo: <https://codepen.io/javadbat/pen/GRrzJeP>

## installation

run `npm install jb-checkbox-react` to install package with npm  

## usage

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:  
![demo](demo-gif.gif)
