AriaMenuProps
type AriaMenuProps = object;
Properties
| Property | Type | Description |
|---|---|---|
button | ReactElement | The react element that triggers the menu. |
colorScheme? | ColorScheme | The color scheme for the menu. |
headerContent? | ReactElement | Optional content to show above the menu items. |
itemClassName? | string | The class name for the menu item. |
items | AriaMenuItem[] | An array of menu items. |
menuClassName? | string | The class name for the menu. |
onOpenChange? | (isOpen) => void | Callback function called when the menu open state changes. |
popoverOffset? | number | The offset for the popover. |
popoverPlacement? | Placement | The placement of the popover. |
testId? | string | The test id for the menu. |