Skip to main content

AriaMenuProps

type AriaMenuProps = object;

Properties

PropertyTypeDescription
buttonReactElementThe react element that triggers the menu.
colorScheme?ColorSchemeThe color scheme for the menu.
headerContent?ReactElementOptional content to show above the menu items.
itemClassName?stringThe class name for the menu item.
itemsAriaMenuItem[]An array of menu items.
menuClassName?stringThe class name for the menu.
onOpenChange?(isOpen) => voidCallback function called when the menu open state changes.
popoverOffset?numberThe offset for the popover.
popoverPlacement?PlacementThe placement of the popover.
testId?stringThe test id for the menu.