import clsx from "clsx"; import { memo, useState } from "react"; import { Button } from "./button"; import { FlyoutMenu } from "./flyoutmenu"; import "./menubutton.scss"; const MenuButtonComponent = ({ items, className, text, title }: MenuButtonProps) => { const [isOpen, setIsOpen] = useState(false); return (
); }; export const MenuButton = memo(MenuButtonComponent) as typeof MenuButtonComponent;