@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
12 lines (11 loc) • 509 B
TypeScript
/// <reference types="react" />
import type { LabelRequiredForA11y } from "@react-md/utils";
import type { MenuProps } from "./types";
/**
* This component conditionally renders the {@link MenuWidget} with the
* {@link MenuKeyboardFocusProvider} based on the `visible` prop with a CSS
* transition that can be configured.
*
* @remarks \@since 5.0.0
*/
export declare const Menu: import("react").ForwardRefExoticComponent<LabelRequiredForA11y<MenuProps> & import("react").RefAttributes<HTMLDivElement>>;