@inteach/react-native-scroll-indicator

react native scroll indicator

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@inteach/react-native-scroll-indicator
1800.0.56 years ago6 years agoMinified + gzip package size for @inteach/react-native-scroll-indicator in KB

Readme

react-native-scroll-indicator
React native scroll indicator
npm
- Usage - Demo - Code - Components - License

Usage

Install
$ npm install @inteach/react-native-scroll-indicator -save
$ react-native link react-native-linear-gradient

Demo

Code

import ScrollIndicator from '@inteach/react-native-scroll-indicator'

const Component = () =>
  <View style={{ flex: 1 }}>
    <ScrollIndicator>
        {/* Somme scrollable content */}
    </ScrollIndicator>
  </View>

Components

ScrollIndicator

Props:
- minScrollHeight (int) : default 0 - style (object) : default {} - scrollEnabled (bool) : default true - showIndicator (bool) : default true - picto (require) : default false

License

MIT License