react-native-collapse-view-spaceo
v1.0.0
Published
## Screen Shot
Downloads
3
Maintainers
Readme
react-native-collapse-view
Screen Shot
Install package
$ npm i react-native-collapse-view
Usage
Import the component:
import CollapsingToolbar from 'react-native-collapse-view';
render() {
return (
<View style={styles.container}>
<CollapseView
renderView={this._renderView}
renderCollapseView={this._renderCollapseView}
/>
</View>
);
}
##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