@self-assert/react / FormField
Function: FormField()
FormField<
Model,ContainerType>(props):Element
Handles the logic for a form field and its error message, given a DraftAssistant.
Type Parameters
| Type Parameter | Default type |
|---|---|
Model extends string | string |
ContainerType extends ElementType<any, keyof IntrinsicElements> | "div" |
Parameters
| Parameter | Type | Description |
|---|---|---|
props | FormFieldProps<Model, ContainerType> |
Returns
Element
