ContextMenuProps
interfaceextends Omit<AnchoredSurfaceProps, "open">
Properties
| Name | Type | Description |
|---|---|---|
at | null | Point | Where the menu opens, in viewport coordinates, or null when it is closed. |
children | ReactNode | |
className? | string | |
container? | null | HTMLElement | |
label | string | The accessible name of the surface. Not rendered; these have no header to name them. |
offset? | number | Gap between anchor and surface, in px. |
onClose | () => void | |
placement? | Placement | Preferred side and alignment. Flipped only if that side does not fit. |