RedDokia API Reference / RedDokiaSplitSchema
Interface: RedDokiaSplitSchema
Declarative authoring schema for defining a row/column split container in layout.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
children | RedDokiaLayoutNodeSchema[] | undefined | Child split or group schemas arranged along this container's axis. |
emptyContents? | unknown | undefined | Custom empty-state component or DOM mount handler displayed when all closable tabs in the contents stage are closed. |
fixed? | boolean | undefined | Locks this split branch at a fixed pixel size. |
id? | string | undefined | Optional stable split container ID (auto-generated if omitted). |
maxHeight? | number | undefined | Maximum height in pixels. |
maxSize? | number | undefined | Maximum size in pixels along the parent split axis. |
maxWidth? | number | undefined | Maximum width in pixels. |
minHeight? | number | undefined | Minimum height in pixels. |
minSize? | number | undefined | Minimum size in pixels along the parent split axis. |
minWidth? | number | undefined | Minimum width in pixels. |
size? | number | undefined | Relative flex weight or size share within the parent split. |
snap? | boolean | undefined | Enables drag-to-collapse snapping below minimum size (false by default). |
type? | "col" | "row" | 'row' | Split axis direction ('row' for horizontal left-to-right, 'col' for vertical top-to-bottom). Defaults to 'row' when omitted. |