The 'react-native-select-dropdown' module declaration was updated to allow specifying the type of data handled in the SelectDropdown component. A generic type T is now allowed which is used to type 'data', 'onSelect', 'defaultValue', and custom rendering functions props.
The 'react-native-select-dropdown' module declaration was updated to allow specifying the type of data handled in the SelectDropdown component. A generic type T is now allowed which is used to type 'data', 'onSelect', 'defaultValue', and custom rendering functions props.