React native scroll indicator
Install
$ npm install @inteach/react-native-scroll-indicator -save
$ react-native link react-native-linear-gradient
import ScrollIndicator from '@inteach/react-native-scroll-indicator'
const Component = () =>
<View style={{ 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