@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
17 lines (16 loc) • 735 B
TypeScript
/// <reference types="react" />
import type { LabelRequiredForA11y } from "@react-md/utils";
import type { MenuWidgetProps } from "./types";
/**
* This component implements the custom keyboard movement for a
* [menu widget](https://www.w3.org/TR/wai-aria-practices/#menubutton). The
* {@link MenuKeyboardFocusProvider} must be a parent component for this custom
* focus behavior to work.
*
* Note: This is probably an internal only component since the {@link Menu} has
* more functionality and includes this component.
*
* @internal
* @remarks \@since 5.0.0
*/
export declare const MenuWidget: import("react").ForwardRefExoticComponent<LabelRequiredForA11y<MenuWidgetProps> & import("react").RefAttributes<HTMLDivElement>>;