react-native-dynamic-scroll
v1.0.3
Published
A scroll view for react native that dynamically adjusts its height
Downloads
2
Maintainers
Readme
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