A state component used to handle common needs for a form (i.e., data-management and validation).
Props
Name
Required
Nullable
Type
children
(FormRenderProp) ⇒ React.Node
initialData
{ [key: string]: any }
initialErrors
boolean
onChange
({ [key: string]: any }) ⇒ void
transform
{ [key: string]: (any) ⇒ any }
validate
{ [key: string]: (any) ⇒ ?Error }
value
{ [key: string]: any }
Examples
No examples