APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

KeyboardAwareFlatList not typed? #524

Open shoooe opened 2 years ago

shoooe commented 2 years ago

Is KeyboardAwareFlatList not typed? I'm using it like:

<KeyboardAwareFlatList data={data} renderItem={({ item }) => { ... } />

Even though data is typed as Item[], item is any. What am I doing wrong? Shouldn't item be Item?