diff --git a/src/components/Common/ButtonWithDropdown/index.tsx b/src/components/Common/ButtonWithDropdown/index.tsx index 7a9940b39..0165d5ae7 100644 --- a/src/components/Common/ButtonWithDropdown/index.tsx +++ b/src/components/Common/ButtonWithDropdown/index.tsx @@ -14,7 +14,7 @@ const DropdownItem: React.FC> = ({ ...props }) => ( {children} @@ -31,6 +31,7 @@ const ButtonWithDropdown: React.FC = ({ text, children, dropdownIcon, + className, ...props }) => { const [isOpen, setIsOpen] = useState(false); @@ -38,22 +39,22 @@ const ButtonWithDropdown: React.FC = ({ useClickOutside(buttonRef, () => setIsOpen(false)); return ( - + - + {children && (