StaticFlatList
StaticFlatList extends the React Native FlatList component [focused on accessibility].
Usage
import { StaticFlatList } from '@react-native-ama/lists';
<StaticFlatList
data={items}
renderItem={renderItem}
keyExtractor={item => item.id}
/>
Additional props
rowsCount
The number of rows of the list/grid. If empty, the length of the data is used to calculate it and divided by numColumns
.
note
When passing rowsCount
, it is used as it is and is assumed that the number of columns has been taken into account.
numColumns
The number of columns of the list/grid.