https://github.com/applikey/react-native-checkbox-list
Simple checkbox list for your react native application.
https://github.com/applikey/react-native-checkbox-list
Last synced: 18 days ago
JSON representation
Simple checkbox list for your react native application.
- Host: GitHub
- URL: https://github.com/applikey/react-native-checkbox-list
- Owner: AppliKey
- Created: 2017-08-07T08:35:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-29T13:09:33.000Z (almost 9 years ago)
- Last Synced: 2025-02-24T03:46:20.375Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
```bash
$ npm i react-native-checkbox-list --save
```
## Usage
```jsx
import { ListOfCheckbox } from'react-native-checkbox-list';
...
```
### Properties
| Prop | Type | Description |
| :------------ |:------:| :-----------------:|
| arrayCheckbox | `Array` | Array of checkboxes objects |
| image | `require()` | Picture of the marked checkbox |
| value | `String` | Key for object of checkbox in array checkboxes, which return method getArrayCheckbox |
| styleCheckbox | `Object` | Object of style checkbox |
| styleLabel | `Object` | Object of style label |
| label | `String` | Label for checkbox |
| labelLeft | `Boolean` | Label before checkbox |
| labelRight | `Boolean` | Label after checkbox |
## Methods
getArrayCheckbox
return array of checkboxs with result
```jsx
import { getArrayCheckbox } from'react-native-checkbox-list';
```