Home

Awesome

react-native-easy-checkbox

NPM version

npm

GitHub issues GitHub forks GitHub stars

NPM

Simple CheckBox for react-native

Installation in project

npm install react-native-easy-checkbox --save

react-native link react-native-vector-icons

Example

Example here

Sample usage


import CheckBox from 'react-native-easy-checkbox';

<CheckBox name="name1" checked={true} onChange={(value) => this._onChangeValue(value)}/>

Configuration

Checkbox component all Configuration.

PropsOptionDefaultDescription
nameStringcheckboxName of checbox
checkedBooleantrueState of checkbox
checkBoxTrueStyleArray or Object-Style for True Checkbox container
checkBoxFalseStyleArray or Object-Style for False Checkbox container
checkIconStyleArray or Object-Style for Checkbox
onChangeFunction-On touch of checkbox returns state of checkbox