Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 905 Bytes

File metadata and controls

38 lines (26 loc) · 905 Bytes
title MountView
parent Surfaces, shells and resources
grand_parent Components

MountView

{: .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} />

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