| title | MountView |
|---|---|
| parent | Surfaces, shells and resources |
| grand_parent | Components |
{: .no_toc }
Renders a single mount's target.
import { MountView } from '@textui/widgets';
import type { Mount } from '@textui/core';
declare const mount: Mount;
<MountView mount={mount} />| 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.
- SurfaceArea - the region mounts appear in
- Extension points - registering a layout