variable / @typed/ui

WindowSplitter.StateSchema

Schema for the structural splitter hydration state.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Pane sizing state
Since
1.0.0
Member of
WindowSplitter

Import

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

Access WindowSplitter.StateSchema through the imported WindowSplitter export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

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