@shopify/flash-list
Version:
FlashList is a more performant FlatList replacement
9 lines • 406 B
TypeScript
/**
* Returns a function that can help create a mapping key for the items.
* Useful when doing .map on items to create a list of components.
* Using this ensures that performance is optimal for FlashList
*/
export declare const useMappingHelper: () => {
getMappingKey: (itemKey: string | number | bigint, index: number) => string | number | bigint;
};
//# sourceMappingURL=useMappingHelper.d.ts.map