change contentVisibility to contain (#4752)

This commit is contained in:
Hailey 2024-07-08 15:16:43 -07:00 committed by GitHub
parent f8a59e10dd
commit a3c43a7471
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 33 additions and 29 deletions

View file

@ -24,11 +24,12 @@ export type ListProps<ItemT> = Omit<
refreshing?: boolean
onRefresh?: () => void
onItemSeen?: (item: ItemT) => void
containWeb?: boolean
desktopFixedHeight?: number | boolean
// Web only prop to contain the scroll to the container rather than the window
disableFullWindowScroll?: boolean
sideBorders?: boolean
// Web only prop to disable a perf optimization (which would otherwise be on).
disableContentVisibility?: boolean
disableContainStyle?: boolean
}
export type ListRef = React.MutableRefObject<FlatList_INTERNAL | null>