README
react-native-customable-checkbox
A checkbox library written in react native that is easily styleable.
ABOUT
react-native-customable-checkbox is a checkbox library written in react native that is easily styleable.
Installation
To install just input the following command:
npm i react-native-customable-checkbox
Usage
this.state = {
isChecked : false
}
render(){
return (
<CheckBox
onPress = {()=>{ this.setState({isChecked:!this.state.isChecked})}}
isChecked = {this.state.isChecked}
size = {20}
tickSize = {15}
tickColor = 'green'
style = {{borderColor:'black'}}
/>
);
};
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.