recyclerlistview
recyclerlistview copied to clipboard
Prop types error with valid `externalScrollView`
trafficstars
Is there a way to pass externalScrollView prop with ScrollView from React Native Gesture Handler without having propTypes+TypeScript errors?
The code below works fine:
import { ScrollView } from 'react-native-gesture-handler';
<RecyclerListView
layoutProvider={layoutProvider}
dataProvider={dataProvider}
rowRenderer={rowRenderer}
externalScrollView={ScrollView}
/>
However, I get this prop types error:

I was using ScrollView from react-native and I also got type errors. Did you find a way to get rid of at least the type errors?
happend to me
RN: 0.64.2 recyclerlistview: 3.0.0
For now I'm just ignoring with:
if (__DEV__) {
LogBox.ignoreLogs(['Failed prop type: Invalid prop `externalScrollView`'])
}