-- ROBLOX upstream: https://github.com/shopify/flash-list/blob/da86222b74afc387c439b9f812d8184fa5e07732/errors/Warnings.ts

local 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.",
}

return WarningList
