An open API service indexing awesome lists of open source software.

https://github.com/jzhangdev/react-native-collapsible-section-list


https://github.com/jzhangdev/react-native-collapsible-section-list

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# react-native-collapsible-section-list

A collapsible section list component for react-native.
Support for Android and iOS only.

## Properties

| Prop | Description | Required |
| ----------------------- | ---------------------------------------------------------- | -------- |
| `sections` | The data of the Section List. | `true` |
| `renderSectionHeader` | Render the section header element. | `true` |
| `renderSectionContent` | Render the section content element. | `true` |
| `keyExtractor` | Same with the `FlatList` `keyExtractor` property. | |
| `contentContainerStyle` | Same with the `FlatList` `contentContainerStyle` property. | |
| `sectionStyle` | Optional style for each section. | |
| `style` | Optional style for the list of sections. | |

## License

[MIT](./LICENSE)