ThemeFlatList
A FlatList component that adapts to the current theme.
ThemeFlatList
A themed wrapper around React Native's FlatList component that supports styling with Tailwind CSS classes and automatic theme adaptation.
Import
Features
- Full FlatList functionality with typing support
- Tailwind CSS styling capabilities
- Automatic light/dark mode adaptation
- Configurable styling via className prop
- Type-safe generic implementation
Props
Prop | Type | Default | Description |
---|---|---|---|
className | string | '' | Tailwind CSS classes to apply |
...props | FlatListProps<T> | — | All standard FlatList props |