Skip to content
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

Dropdown: Option.label is implicitly required by the default getOptionLabel #1318

Open
giogonzo opened this issue Feb 27, 2019 · 0 comments
Open

Comments

@giogonzo
Copy link
Member

giogonzo commented Feb 27, 2019

Project card

We could either:

  • make the getOptionLabel: (option: T) => string prop required
  • add a constraint for T (option type): extends { label: string }
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

No branches or pull requests

1 participant