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

Separate render prop for control vs menu #25

Open
drewbrend opened this issue Apr 26, 2021 · 0 comments
Open

Separate render prop for control vs menu #25

drewbrend opened this issue Apr 26, 2021 · 0 comments

Comments

@drewbrend
Copy link

drewbrend commented Apr 26, 2021

Is there a plan to support a separate render prop for the selected option in the control vs the menu? Currently renderOptionLabel is applied to both.

I am rendering custom menu items with additional subtext and an icon, it doesn't make sense for me to display these extra things in the control, I just want the main piece of text. In the example below, I would like to be able to only render Denver in the control

Screen Shot 2021-04-26 at 8 44 19 AM

Something like renderControlLabel to go along with the current renderOptionLabel?

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