@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
11 lines (10 loc) • 584 B
TypeScript
import React from "react";
import { DividerElement, DividerProps, VerticalDividerProps } from "@react-md/divider";
export interface MenuItemSeparatorProps extends DividerProps, Pick<VerticalDividerProps, "maxHeight"> {
/**
* The current orientation of the separator. This is required for a11y, but
* will automatically be determined by the `Menu`'s orientation if omitted.
*/
"aria-orientation"?: "horizontal" | "vertical";
}
export declare const MenuItemSeparator: React.ForwardRefExoticComponent<MenuItemSeparatorProps & React.RefAttributes<DividerElement>>;