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


Back to top

MIT licensed. Pre-1.0 - the surface is still moving.