Type Alias: FormComponent
Imported from
@react-logic/utilsFormComponent<
S> = (props) =>ReactElement&object
Defined in: utils/src/lib/use-form.tsx:100
Bound form component returned by useForm. Renders a <form> element
and exposes three proxies as properties: bind (raw props to spread),
error (per-validator-name error maps), and inputs (pre-built
<input> / <select> components per field — sugar for the common
spread case).
Type Declaration
bind
readonlybind:Bind<S>
error
readonlyerror:ErrorTree<S>
inputs
readonlyinputs:Inputs<S>
Type Parameters
S
S extends Schema