rn-slider-switch
Version:
Multi slider switch component in React Native (iOs & android)
40 lines (28 loc) • 1.07 kB
Markdown
# rn-slider-switch
Multi slider switch component in React Native (iOs & android)
## Installation:
Install the component through npm using:
```
npm install rn-slider-switch --save
```


[YOUTUBE : See slider in action](https://www.youtube.com/watch?v=d7oeRdoRyFk&feature=youtu.be)
## Example:
```
import MultiSwitch from 'rn-slider-switch';
<MultiSwitch
currentStatus={'Open'}
disableScroll={value => {
console.log('scrollEnabled', value);
// this.scrollView.setNativeProps({
// scrollEnabled: value
// });
}}
isParentScrollEnabled={false}
onStatusChanged={text => {
console.log('Change Status ', text);
}}
```
## Props:
* Pending