@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
11 lines (10 loc) • 440 B
TypeScript
/// <reference types="react" />
import type { MenuItemProps } from "./types";
/**
* This component is used as an "action" within a `Menu`/`DropdownMenu` that
* implements some keyboard focus behavior. This component should generally have
* an `onClick` event handler.
*
* @remarks \@since 5.0.0
*/
export declare const MenuItem: import("react").ForwardRefExoticComponent<MenuItemProps & import("react").RefAttributes<HTMLLIElement>>;