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
992 stars 296 forks source link

feat: Add itemLabelProps #542

Closed amhinson closed 1 year ago

amhinson commented 2 years ago

This PR adds itemLabelProps to allow developers to pass props directly to the Text component inside the item.

This could address issues like https://github.com/hossein-zare/react-native-dropdown-picker/issues/460:

itemLabelProps={{
    numberOfLines: 1
}}
hossein-zare commented 2 years ago

Thanks for the PR.

amhinson commented 2 years ago

Any update on this?

smbkr commented 1 year ago

Hey @hossein-zare is there anything outstanding on this PR that needs addressing? I'm experiencing the same problem as #460 and it looks like this change is a good solution.

hossein-zare commented 1 year ago

Hello again, @amhinson @smbkr

is there anything outstanding on this PR that needs addressing?

Nope, Just the things happening in my country (Iran) kept me away from working on projects. Git is blocked for some stupid reason we don't know and so are almost all VPNs and Proxies.

I'll publish a new version as soon as possible.