Context Menu
A context menu opens a menu at the pointer position when a user right clicks the trigger area.
Pass two children: the trigger element followed by a Menu.
Right click here
Component props
| Name | Type | Description |
|---|---|---|
| children | ReactNode | Trigger element followed by a Menu |
| onOpenChange | (open: boolean) => void | Called when the menu opens or closes |