Collabsible bar flatlist component for React Native.
npm install react-native-collapsible-bar-flatlist```
$ yarn add react-native-collapsible-bar-flatlist
or
$ npm install react-native-collapsible-bar-flatlist
`tsx`
barHeight={80}
data={this.data}
ListFooterComponent={
keyExtractor={(item) => item.toString()}
renderItem={(info) => (
)}/>
|Property|Description|
|:-|:-|
|BarElement: ReactElement|A ReactElement that is shown on the top of the FlatList. |
|barHeight: number|A height of the bar element. It should be same with BarElement element's height.|true
|isShowBar?: boolean|If you want to switch visibility of the bar, you can set it on this prop. The default value is .|FlatList
|flatListRef?: (ref: FlatList like View.ref.|
and other props are same with FlatListProps`.