Skip to content

Commit

Permalink
Fix #5888: SelectButton allow children
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 14, 2024
1 parent 2631016 commit 13a5be3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/lib/selectbutton/SelectButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ export const SelectButton = React.memo(

return (
<>
<div {...rootProps}>{items}</div>
<div {...rootProps}>
{items}
{props.children}
</div>
{hasTooltip && <Tooltip target={elementRef} content={props.tooltip} pt={ptm('tooltip')} {...props.tooltipOptions} />}
</>
);
Expand Down

0 comments on commit 13a5be3

Please sign in to comment.