@inteach/react-native-scroll-indicator

0.0.5 • Public • Published

react-native-scroll-indicator

React native scroll indicator

npm

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

Package Sidebar

Install

npm i @inteach/react-native-scroll-indicator

Weekly Downloads

130

Version

0.0.5

License

ISC

Unpacked Size

11.4 MB

Total Files

6

Last publish

Collaborators

  • alexandre-g
  • crash--