import { type PropsWithChildren } from 'react'; import './option.css'; export type MenuOptionProps = { id?: string; disabled?: boolean; label?: string; classNames?: string; styles?: React.CSSProperties; highlighted?: boolean; iconStart?: () => React.ReactElement | React.ReactNode; iconEnd?: () => React.ReactElement | React.ReactNode; onPointerEnter?: (e: React.PointerEvent) => void; onPointerLeave?: (e: React.PointerEvent) => void; action?: (e: React.MouseEvent | React.KeyboardEvent) => void; onClick?: (e: React.MouseEvent) => void; onKeyboardEnter?: (e: React.KeyboardEvent) => void; }; /** * Menu option component. * * Used as a child of the Menu component. * Allows you to declare the text, and icons within the component * and any action callbacks * * action is a generic handler for click and enter */ export declare const MenuOption: React.FC>; //# sourceMappingURL=option.d.ts.map