hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
970 stars 294 forks source link

Update ItemType to reflect behaviour #648

Closed Rackles closed 1 year ago

Rackles commented 1 year ago

In order to be able to use the icon definition in other cases as well the ItemType should reflect the behaviour of the function in the Type.

The behaviour is defined here: https://hossein-zare.github.io/react-native-dropdown-picker-website/docs/advanced/icons

Feel free to give me feedback on the changes.