software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

Fix `FlatList` type #3029

Closed j-piasecki closed 2 months ago

j-piasecki commented 3 months ago

Description

Closes https://github.com/software-mansion/react-native-gesture-handler/issues/2990

Removes renderScrollComponent from the public API of FlatList exported by Gesture Handler, as its being overwritten with Gesture Handler's scroll view anyway.

Test plan

Verify that renderScrollComponent causes a TypeScript error on FlatList exported from RNGH.