React Native Collapse View

Wed, Feb 7, 2018 One-minute read

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

PropTypeDefault
collapseboolfalse
tensionnumber10
renderViewfunc
renderCollapseViewfunc

License

MIT License. © 2018 San Pyae Lin