react-native-dynamic-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

React Native Dynamic Scroll

  • Easy to use
  • Quick to implement
  • Only depends on React & React Native

How does it work?

  • It calculates the number of child components it has and adjusts its height accordingly

Installation

  • You should be fine with most of the React Native versions
  • No linking required
npm i react-native-dynamic-scroll

Usage

  • Import and use like a regular react native module
import DynamicScroll from 'react-native-dynamic-scroll';
<DynamicScroll>
    {/* YOUR CODE */}
</DynamicScroll>

Props

OPTIONAL
  • Adjusts the height multiplier of the scroll. Defaults to 0.33

HeightMultiplier: number

License

MIT

/react-native-dynamic-scroll/

    Package Sidebar

    Install

    npm i react-native-dynamic-scroll

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.26 kB

    Total Files

    4

    Last publish

    Collaborators

    • furkannarin