React native scroll indicator
Install
$ npm install @inteach/react-native-scroll-indicator -save
$ react-native link react-native-linear-gradientimportScrollIndicatorfrom'@inteach/react-native-scroll-indicator'constComponent=()=><Viewstyle={{flex: 1}}><ScrollIndicator>{/* Somme scrollable content */}</ScrollIndicator></View>Props:
- minScrollHeight (int) : default 0
- style (object) : default {}
- scrollEnabled (bool) : default true
- showIndicator (bool) : default true
- picto (require) : default false
