InlineLayout
Mounts rendered one after another with no chrome at all.
import { BUILTIN_LAYOUTS } from '@textui/core';
const inline = BUILTIN_LAYOUTS.find((layout) => layout.name === 'inline');
Props
| Prop | Type | Default | |
| — | — | — | — |
| surface | SurfaceName | required | |
| mounts | Mount[] | required | |
| state | SurfaceState | required | |
Plus everything on BoxProps.
No tabs, no divider, no frame - the mounts and nothing else. For a surface that is a hole in someone else’s layout, where any decoration would be a second frame around a thing already framed.
See also
- StackLayout - the same order, with the surface’s spacing
- SurfaceArea - pinning a layout with
layout