Fix <List> types (#6756)

* fix List and ScrollView types

* add comment

* rm omitting ref
This commit is contained in:
Samuel Newman
2024-11-26 15:55:27 +00:00
committed by GitHub
parent 56a88098d2
commit ce1b04b925
10 changed files with 171 additions and 155 deletions
+1
View File
@@ -113,6 +113,7 @@ export const ViewSelector = React.forwardRef<
)
return (
<FlatList_INTERNAL
// @ts-expect-error FlatList_INTERNAL ref type is wrong -sfn
ref={flatListRef}
data={data}
keyExtractor={keyExtractor}