UNPKG

@shopify/flash-list

Version:

FlashList is a more performant FlatList replacement

16 lines (15 loc) 1.06 kB
const WarningList = { styleUnsupported: "You have passed a style to FlashList. This list doesn't support styling, use contentContainerStyle or wrap the list in a parent and apply style to it instead.", styleContentContainerUnsupported: "FlashList only supports padding related props and backgroundColor in contentContainerStyle. Please remove other values as they're not used.", unusableRenderedSize: "FlashList's rendered size is not usable. Either the height or width is too small (<2px). " + "Please make sure that the parent view of the list has a valid size. FlashList will match the size of the parent.", missingKeyExtractor: "FlashList requires a keyExtractor prop to be defined when animating elements. Without it, the animations will not run as expected.", estimatedItemSizeMissingWarning: "estimatedItemSize FlashList prop is not defined - based on current configuration you can set it to @size to optimize list performance. " + "Refer to FlashList documentation for more details.", }; export default WarningList;