MountView
Renders a single mount’s target.
import { MountView } from '@textui/core';
import type { Mount } from '@textui/core';
declare const mount: Mount;
<MountView mount={mount} />
Props
| Prop | Type | Default | |
| — | — | — | — |
| mount | Mount | required | |
Plus everything on BoxProps.
Every shipped layout delegates to this. A layout decides where a mount goes;
MountView decides what it draws, applying the mount’s data context and its
display metadata.
You need it when writing a layout of your own, and almost never otherwise.
See also
- SurfaceArea - the region mounts appear in
- Extension points - registering a layout