= ({
primaryButton,
tertiaryButton,
color = 'green',
forceColor = false,
gap = 'small',
className = '',
}) => {
// Don't render if no buttons are provided
if (!primaryButton && !tertiaryButton) {
return null;
}
const classNames = clsx(
'bds-button-group',
`bds-button-group--gap-${gap}`,
className
);
return (
{primaryButton && (
)}
{tertiaryButton && (
)}
);
};
export default ButtonGroup;