A layout config object for a split area.

interface ISplitAreaConfig {
    children: AreaConfig[];
    orientation: "horizontal" | "vertical";
    sizes: number[];
    type: "split-area";
}

Properties

children: AreaConfig[]

The children in the split area.

orientation: "horizontal" | "vertical"

The orientation of the split area.

sizes: number[]

The relative sizes of the children.

type: "split-area"

The discriminated type of the config object.