variable / @typed/ui/index

Hovercard.StateSchema

Schema for hovercard hydration state.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Open state
Since
1.0.0
Member of
Hovercard

Import

import { Hovercard } from "@typed/ui/index";

Access Hovercard.StateSchema through the imported Hovercard 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 id: Schema.String;
    readonly open: Schema.Boolean;
}>;

Why

Shared identity/open encoding keeps SSR and browser state 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