trigger | ReactNode | - | The right-clickable tile's label, such as a file name. |
| The right-clickable tile's label, such as a file name. |
triggerIcon | ReactNode | - | A glyph in a well above the label, such as the file's type. |
| A glyph in a well above the label, such as the file's type. |
items | ContextMenuItem[] | - | |
|
icon | boolean | true | |
|
iconPosition | leading | trailing | leading | |
|
open | boolean | - | |
|
onOpenChange | (open: boolean) => void | - | |
|
shape | square | rounded | squircle | pill | rounded | |
|
disabled | boolean | false | Blocks the menu from opening at all & dims the trigger. |
| Blocks the menu from opening at all & dims the trigger. |
animated | boolean | true | |
|
container | HTMLElement | null | - | |
|