1.0.1 • Published 7 years ago

react-native-easy-checkbox v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

react-native-easy-checkbox

NPM version

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