@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
23 lines (22 loc) • 763 B
TypeScript
/// <reference types="react" />
import type { BaseMenuItemButtonProps } from "./types";
/**
* @internal
* @remarks \@since 5.0.0
*/
export interface MenuItemButtonProps extends BaseMenuItemButtonProps {
/**
* Boolean if the menu is currently visible which will rotate the dropdown
* icon when the {@link BaseDropdownMenuItemProps.disableDropdownIcon} is not
* `true`.
*/
visible: boolean;
}
/**
* This is just an internal component that handles rendering a submenu as a
* menuitem for a `DropdownMenu` with a conditional dropdown icon.
*
* @internal
* @remarks \@since 5.0.0
*/
export declare const MenuItemButton: import("react").ForwardRefExoticComponent<MenuItemButtonProps & import("react").RefAttributes<HTMLLIElement>>;