diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e37632f..7879399a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 9.0.1 + +##### Bugfix + +- Correct types for PickerStyle interface (#528) +- Fix Icon prop type (#529) + ## 9.0.0 ##### Breaking Changes diff --git a/index.d.ts b/index.d.ts index 62266287..33983dbb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -88,7 +88,7 @@ export interface PickerSelectProps { pickerProps?: CustomPickerProps; touchableDoneProps?: CustomTouchableDoneProps; touchableWrapperProps?: CustomTouchableWrapperProps; - Icon?: React.ReactNode; + Icon?: React.FC; InputAccessoryView?: React.ReactNode; darkTheme?: boolean; } diff --git a/package.json b/package.json index d633a9b3..a919a07d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-picker-select", - "version": "9.0.0", + "version": "9.0.1", "description": "A Picker component for React Native which emulates the native