AnchoredSurfaceProps
interfaceProps shared by the anchored surfaces.
Properties
| Name | Type | Description |
|---|---|---|
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 | |
open | boolean | Whether the surface is on screen. Controlled, like the modal tier. |
placement? | Placement | Preferred side and alignment. Flipped only if that side does not fit. |