/jb-checkbox-react

react mobx checkbox component

Primary LanguageTypeScriptMIT LicenseMIT

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