Skip to content

Refactor: Updated type definitions in 'react-native-select-dropdown' … #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sclavijo93
Copy link

The 'react-native-select-dropdown' module declaration was updated to allow specifying the type of data handled in the SelectDropdown component. A generic type T is now allowed which is used to type 'data', 'onSelect', 'defaultValue', and custom rendering functions props.

@sergio-cravas
Copy link

Hello! Any update on this? I just thought the same thing and was going to open a PR with these changes, it would be great if they were taken into account and this could be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants