diff --git a/client/src/components/buttons/Button.tsx b/client/src/components/buttons/Button.tsx index c68b3797db..d7363f51e5 100644 --- a/client/src/components/buttons/Button.tsx +++ b/client/src/components/buttons/Button.tsx @@ -114,7 +114,7 @@ function ButtonWithMenu(props: ButtonWithMenuProps) { ); } -interface BButtonWithMenuV2Props { +interface ButtonWithMenuV2Props { children?: React.ReactNode; className?: string; color?: string; @@ -135,33 +135,51 @@ export function ButtonWithMenuV2({ id, preventPropagation, size, -}: BButtonWithMenuV2Props) { +}: ButtonWithMenuV2Props) { // ! Temporary workaround to quickly implement a design solution -- to be removed ASAP #3250 const additionalProps = preventPropagation ? { onClick: (e: React.MouseEvent) => e.stopPropagation() } : {}; return ( - - {defaultButton} - - {children} - + <> +
+ {/* Bootstrap split button dropdown */} + + {defaultButton} + + {children} + + + + {defaultButton} + + {children} + +
+ ); }