2.0.0 • Published 7 years ago
react-native-checkbox v2.0.0
react-native-checkbox
Checkbox component for React native
Installation:
Install the component through npm using:
npm install react-native-checkbox --save
Example:
import CheckBox from 'react-native-checkbox';
<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 valuecheckedImage
: checked image (e.g.: require('PATH_TO_IMAGE'))checkboxStyle
: style object that will be applied to the checkboxuncheckedImage
: unchecked image (e.g.: require('PATH_TO_IMAGE'))onChange
: callback function that will be invoked with the toggled checked property as argument.containerStyle
: style object that will be applied to the containerunderlayColor
: style the touchable component underlay color
2.0.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.17
7 years ago
1.0.16
7 years ago
1.0.15
8 years ago
1.0.14
8 years ago
1.0.13
8 years ago
1.0.12
8 years ago
1.0.11
8 years ago
1.0.10
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago