Skip to main content

AriaMenuProps

type AriaMenuProps = object;

Properties

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