Prop to take Check icon for selected options in dropdowns #8303
ptiwari-cs
started this conversation in
Feature requests
Replies: 1 comment
-
|
I do not think there is an option to do this without using renderOption or Combobox componen. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I was looking to use a custom Check icon in order to match our theme in Select and Combobox, but noticed that the component is explicitly defining the CheckIcon (see OptionsDropdown.tsx#L45
) from the Checkbox component and does not expose any prop to pass a custom icon.
Is there any specific reason or limitation for this design choice?
I am trying to avoid creating a wrapper component, so using renderOptions also might not be a viable option for us.
Any suggestions on how to handle this in a clean way, preferably without having to fork the component, would be greatly appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions