react-native-easy-checkbox

1.0.1 • Public • Published

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.

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i react-native-easy-checkbox

    Weekly Downloads

    14

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • bhavanpatel