NativeSectionListHeader
SectionList header pattern — opinionated header style for react-native SectionList rows. The full SectionList API stays with React Native; Genesis ships the header component so consumers can pass it as `renderSectionHeader` and get a consistent visual: muted background, uppercase tracking, sticky-friendly padding. Pattern: <SectionList sections={...} renderItem={({ item }) => <NativeListItem title={item.label} />} renderSectionHeader={({ section }) => ( <NativeSectionListHeader title={section.title} /> )} />
packages/ui-native/src/components/section-list.tsx
Import
Subpath export:
@marktiderman/genesis-ui-nativeimport { NativeSectionListHeader } from "@marktiderman/genesis-ui-native";Components
Auto-generated from TypeScript source via
react-docgen-typescript.NativeSectionListHeader
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | string | — | |
| className | string | — | |
| testID | string | — | |
| trailing | ReactNode | — | Optional trailing content (e.g., a count badge). |