Material Slider for React Native
If using yarn:
yarn add react-native-material-slider
If using npm:
npm i react-native-material-slider -S
import Slider from 'react-native-material-slider';
Simply place a <Slider />
tag.
You can configure module with this props
Prop | Type | Default |
---|---|---|
stickyPin |
boolean | false |
minimumValue |
number | 0 |
maximumValue |
number | 100 |
step |
number | 1 |
thumbTintColor |
string | transparent |
minimumTrackTintColor |
string | #8ec95d |
maximumTrackTintColor |
string | #d6d9db |