variable / @typed/ui/WindowSplitter

StateSchema

Schema for the structural splitter hydration state.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Pane sizing state
Since
1.0.0

Import

import { StateSchema } from "@typed/ui/WindowSplitter";

Signatures

export declare const StateSchema: Schema.Struct<{
    readonly value: Schema.Finite;
    readonly previousValue: Schema.Finite;
    readonly min: Schema.Finite;
    readonly max: Schema.Finite;
    readonly step: Schema.Finite;
    readonly orientation: Schema.Literals<readonly [
        "horizontal",
        "vertical"
    ]>;
}>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source