react-functional-select
react-functional-select copied to clipboard
Separate render prop for control vs menu
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
Something like renderControlLabel
to go along with the current renderOptionLabel
?