https://github.com/null-none/react-native-sections
React Native Sections with scrollable tabs
https://github.com/null-none/react-native-sections
list react-native scrollable sections tabs
Last synced: 10 months ago
JSON representation
React Native Sections with scrollable tabs
- Host: GitHub
- URL: https://github.com/null-none/react-native-sections
- Owner: null-none
- License: mit
- Created: 2024-01-09T22:41:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T18:49:29.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T09:28:29.901Z (about 1 year ago)
- Topics: list, react-native, scrollable, sections, tabs
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# react-native-sections
React Native Sections with scrollable tabs
## Installation
```bash
$ yarn add react-native-sections
```
## Props
Name | Description | Type | Default
------ | ------ | ------ | ------
`scrollToLocationOffset?` | Param is inserted into `scrollToLocation` as `viewOffset` [See React Native Docs](https://facebook.github.io/react-native/docs/sectionlist#scrolltolocation) | `number` | 0
`tabBarStyle?` | Styles for tabBar | `ViewStyle` | undefined
`renderTab` | Callback which returns a custom React Element to use as the tab bar `(section: SectionListData) ` | `React.ReactNode` | Required
`SectionList` [props...](https://facebook.github.io/react-native/docs/sectionlist#props) | | |