byteburgers / react-native-autocomplete-input

Pure javascript autocomplete input for react-native
https://byteburgers.com/autocomplete
MIT License
805 stars 255 forks source link

TypeScript support confused about which properties are required: "options" and "label" #274

Closed timheilman closed 6 months ago

timheilman commented 6 months ago

The example from this repo's readme, using properties data, value, onChangeText and flatListProps appears to be out-of-sync with the values in the npm library beneath dist/types. In particular, my IDE complains that options and label are required properties for the component.

timheilman commented 6 months ago

this was user error! I was grabbing a different library.