Leveraging default styling is extremely difficult through renderDisclosure, as the properties like overrides, disabled, etc. are not passed through. To simplify rendering a default-like component (e.g. I just want to change the label text for +2 others), I've exposed all the default properties in addition to the dropdownMenuButtonProps and their class names.
Leveraging default styling is extremely difficult through renderDisclosure, as the properties like overrides, disabled, etc. are not passed through. To simplify rendering a default-like component (e.g. I just want to change the label text for +2 others), I've exposed all the default properties in addition to the dropdownMenuButtonProps and their class names.