BhavanPatel / react-native-easy-checkbox

Simple CheckBox for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Sample usage

import CheckBox from 'react-native-easy-checkbox';
<CheckBox name="name1" checked={true} onChange={(value) => this._onChangeValue(value)}/>

Configuration

Checkbox component all Configuration.

Props Option Default Description
name String checkbox Name of checbox
checked Boolean true State of checkbox
checkBoxTrueStyle Array or Object - Style for True Checkbox container
checkBoxFalseStyle Array or Object - Style for False Checkbox container
checkIconStyle Array or Object - Style for Checkbox
onChange Function - On touch of checkbox returns state of checkbox

About

Simple CheckBox for react-native


Languages

Language:Objective-C 39.1%Language:JavaScript 33.2%Language:Python 15.3%Language:Java 12.4%