interface / @typed/ui/Form

SchemaBoundReset

Callable schema-bound reset-button constructor.

Learn this UI primitive →

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

Import

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

Signatures

export interface SchemaBoundReset {
    <const Options extends object, const Host extends HostResult = never>(options: SchemaBoundResetOptions & Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, ResetProps<object>>, (SchemaBoundResetOptions & Options)["content"], Host>): SchemaBoundComponentResult<Options, Host>;
}

Call signatures

Creates a reset button targeting the form provided by CurrentForm.

Other public imports

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

Source