You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
innerRef prop actually gets a an AnimatedComponent<FlatList | ScrollView | SectionList> rather than just a FlatList | ScrollView | SectionList (the type AnimatedComponent<T> does not exist in reanimated though).
We should do something like this:
classAnimatedFlatListextendsComponent<AnimateProps<FlatListStyle,FlatListProps>>{getNode(): ReactNativeView;}// same for AnimatedScrollView and AnimatedSectionListtypeProps={
...,innerRef: RefObject<AnimatedFlatList|AnimatedScrollView|AnimatedSectionList>;}
The text was updated successfully, but these errors were encountered:
innerRef
prop actually gets a anAnimatedComponent<FlatList | ScrollView | SectionList>
rather than just aFlatList | ScrollView | SectionList
(the typeAnimatedComponent<T>
does not exist inreanimated
though).We should do something like this:
The text was updated successfully, but these errors were encountered: