Rezi
    Preparing search index...

    Type Alias KeyContext<S>

    KeyContext: Readonly<
        {
            focusedId: string
            | null;
            state: Readonly<S>;
            update: (updater: S | ((prev: Readonly<S>) => S)) => void;
        },
    >

    Context passed to keybinding handlers. Provides state access and update capability.

    Type Parameters

    • S

      Application state type