react-native-collapse-view icon indicating copy to clipboard operation
react-native-collapse-view copied to clipboard

Collapse component for react native

react-native-collapse-view

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