lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

Render Icon depending on current state of picker #468

Open indapublic opened 2 years ago

indapublic commented 2 years ago

Is your feature request related to a problem? Please describe.
I want to render different icons for closed and open picker. For example, V for closed state and ^ for open state.

Describe the solution you'd like
Replace Icon?: React.ReactNode; with Icon?: (props) => React.ReactNode;

Describe alternatives you've considered

Additional details

saaspeter commented 2 months ago

want it too, while this request is in 2021 :(