1.0.0 • Published 3 years ago
native-smart-scroll-container v1.0.0
Native Smart Scroll Container
About
Enable scroll in the container based on content size
How to Install
First, install the library in your project by npm:
$ npm install native-smart-scroll-container
Or Yarn:
$ yarn add native-smart-scroll-container
Getting Started
Connect the library with the project using ES6 import:
import SmartScrollContainer from 'native-smart-scroll-container'
Options
Component extends ScrollViewProps
Name | Type | Default | Description |
---|---|---|---|
onSmartScrollStatusChange | (isScrollEnabled: boolean) => void | undefined | Callback on smart scroll status change |
Example
import React from 'react'
import SmartScrollContainer from 'native-smart-scroll-container'
const App = () => {
return (
<SmartScrollContainer>
{/* React Native components & content here... */}
</SmartScrollContainer>
)
}
export default App
License
This project is licensed under the MIT License © 2020-present Jakub Biesiada
1.0.1-beta.1
3 years ago
1.0.0
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.1
3 years ago
0.0.1
3 years ago
0.0.0
3 years ago