FlashList ⚡️
Wrapper around FlashList
component from @shopify/flash-list
.
https://shopify.github.io/flash-list/docs/ (opens in a new tab)
FlashList
component is a more optimized list component from Shopify development team, it works as react native FlatList
component.
So, List
component accepts every props from react native FlatList
component.
Import
import { FlashList } from "react-native-ficus-ui";
Usage
Performance demo ⚡️
Props
renderItem
Takes an item from data and renders it into the list.
Type | Required | Default |
---|---|---|
function | Yes |
data
For simplicity, data is a plain array of items of a given type.
Type | Required | Default |
---|---|---|
ItemT[] | Yes |