Closed stevebutler2210 closed 8 months ago
The previous typings for the PickerStyle interface were restrictive, preventing valid passing of arrays of styles to each of the attributes.
PickerStyle
Updating these to use StyleProp<XStyle> ensures valid arrays of style objects are accepted.
StyleProp<XStyle>
Fixes: https://github.com/lawnstarter/react-native-picker-select/issues/527
The previous typings for the
PickerStyle
interface were restrictive, preventing valid passing of arrays of styles to each of the attributes.Updating these to use
StyleProp<XStyle>
ensures valid arrays of style objects are accepted.Fixes: https://github.com/lawnstarter/react-native-picker-select/issues/527