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