formOptions

Function: formOptions()

ts
function formOptions<TFormData, TFormValidator>(defaultOpts?): undefined | FormOptions<TFormData, TFormValidator>
function formOptions<TFormData, TFormValidator>(defaultOpts?): undefined | FormOptions<TFormData, TFormValidator>

Type Parameters

TFormData

TFormValidator extends undefined | Validator<TFormData, unknown> = undefined

Parameters

defaultOpts?: FormOptions<TFormData, TFormValidator>

Returns

undefined | FormOptions<TFormData, TFormValidator>

Defined in

packages/form-core/src/formOptions.ts:4

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.