San Pyae Lin/React Native Collapse View

Created Wed, 07 Feb 2018 00:00:00 +0000 Modified Mon, 11 Jan 2021 03:58:33 +0000

React Native Collapse View

“Screen Shot 1”

Install package

$ npm i react-native-collapse-view

Usage

Import the component:

import CollapseView from 'react-native-collapse-view';


<CollapseView 
  renderView={this._renderView}
  renderCollapseView={this._renderCollapseView}
/>

Example

Check full example in the example folder.

Properties

Prop Type Default
collapse bool false
tension number 10
renderView func
renderCollapseView func

License

MIT License. © 2018 San Pyae Lin

comments powered by Disqus