import { FC } from 'react'; import { ButtonVariant } from '../button/Button.tsx'; import { MenuItem } from '../../types/menu.types'; interface MenuProps { /** Overwrite className */ className?: string; /** Control if you want to close the list after clicking one of the options or not */ closeOnClick?: boolean; /** Control if you want to close the list after clicking one of the options or not */ disabled?: boolean; /** Force light mode styles even in dark mode */ forceLightMode?: boolean; /** List of the items to render when the menu is open */ items: MenuItem[]; /** From where to start to render the list */ listOrigin?: 'left' | 'right'; /** Size type */ size?: 'sm' | 'md'; /** Use the variant prop to change the visual style of the Button */ variant?: ButtonVariant; /** * Callback that is called when the visibility of the menu changes. * Receives a boolean indicating whether the menu list is now visible or not. * Useful for syncing the menu's open state with external state or side effects. */ onVisibleChange?: (isVisible: boolean) => void; } declare const Menu: FC; export default Menu;