README
React Native Animated Checkbox
Intalation
yarn add @brasileiromaia/react-native-animated-checkbox
Dependencies
- React Native Vector Icons
Import
import Checkbox from '@brasileiromaia/react-native-animated-checkbox';
Usage
<Checkbox
checked
bgChecked="#75c"
onPress={() => {}}
text="" />
Configuration
| Props | Type | Default |
|---|---|---|
| checked | boolean | false |
| bgChecked | string | #0154C6 |
| bgUnChecked | string | #FFFFFF |
| bdUnChecked | string | #979797 |
| iconColor | string | #FFFFFF |
| onPress | function | () => { } |
| text | string | My text of example |
| textStyle | object | { } |
| checkboxStyle | object | { } |
| around | boolean | false |