variable / @typed/ui/Popover

StateSchema

Schema for serialized popover state.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Open state
Since
1.0.0

Import

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

Signatures

export declare const StateSchema: Schema.Struct<{
    readonly open: Schema.Boolean;
}>;

Why

A shared boolean shape keeps server and browser hydration compatible.

Ownership and lifetime

The immutable schema acquires no resources.

Other public imports

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

Source