Home

Awesome

React Native BEMCheckbox

React Native bridge for awesome BEMCheckBox

iOS Only

Preview

Content

Installation

  1. Install package via npm:
npm install --save react-native-bem-check-box
  1. Link your library by one of those ways: either by using rnpm link (see more about rnpm here) or like it's described here.
  2. Inside your code include JS part by adding
import BEMCheckBox from 'react-native-bem-check-box';
  1. Compile and have fun!

Usage example

You can run built-in example via few simple steps:

  1. Clone repository
  2. Go to Example
  3. Run npm install && open CheckBox.xcodeproj
  4. Hit "Run"(cmd+R) button on XCode panel

Basic usage

import BEMCheckBox from 'react-native-bem-check-box';

<BEMCheckBox
  onValueChange={value => this.setState(value)}
/>

Component properties

Check this section in BEMCheckBox document

Changelog

License

Copyright 2016 Rifat Nabi
Licensed under the MIT License.