import { JSX } from "solid-js"; import { MarginProps } from "../../styled-system/props/margin"; import { ElementType, HTMLHopeProps } from "../types"; import { MenuItemVariants } from "./menu.styles"; import { MenuItemData } from "./menu.utils"; declare type MenuItemOptions = Partial> & MenuItemVariants & { /** * The icon to display next to the menu item text. */ icon?: JSX.Element; /** * The space between the icon and the menu item text. */ iconSpacing?: MarginProps["marginRight"]; /** * Right-aligned label text content, useful for displaying hotkeys. */ command?: string; /** * The space between the command and the menu item text. */ commandSpacing?: MarginProps["marginLeft"]; }; export declare type MenuItemProps = HTMLHopeProps; /** * The component that contains a menu item. */ export declare function MenuItem(props: MenuItemProps): JSX.Element; export declare namespace MenuItem { var toString: () => string; } export {}; //# sourceMappingURL=menu-item.d.ts.map