1.0.8 • Published 9 years ago
@clarle/react-native-checkbox v1.0.8
react-native-checkbox
Checkbox component for React native
##Installation:
Install the component through npm using:
npm install react-native-checkbox --save##Example:
<CheckBox
label='Label'
checked={true}
onChange={(checked) => console.log('I am checked', checked)}
/>##Props:
label: text that will be displayed along the checkboxlabelBefore: position the label before the checkbox (boolean). The default value is falselabelStyle: style object that will be applied to the labelchecked: initial checked valueonChange: callback function that will be invoked with the toggled checked property as argument.
1.0.8
9 years ago