interface / @typed/ui/Form

SchemaBoundCheckbox

Callable schema-bound checkbox constructor.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Schema-bound components
Since
1.0.0

Import

import { SchemaBoundCheckbox } from "@typed/ui/Form";

Signatures

export interface SchemaBoundCheckbox<Values extends object> {
    <const Options extends object, const Host extends HostResult = never>(options: SchemaBoundCheckboxOptions<Values> & Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, CheckboxProps<Values>>, "", Host>): SchemaBoundComponentResult<Options, Host>;
}

Call signatures

Creates a bound native checkbox for a boolean field.

Other public imports

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

Source