diff --git a/README.md b/README.md index 66c0b53..216f018 100644 --- a/README.md +++ b/README.md @@ -163,10 +163,10 @@ The `Form` component will accept the following props: * name (string, required) - The name of the form. * render (component/function, required) - Function/functional component that will render the form - passed InjectedFormProps as below * renderProps (object, optional) - Custom props to pass to the render component -* validators?: (object, optional) - Form validation object - see validation -* initialValues?: (object, optional) - Initial form values in the form `{ [fieldName]: value }` -* onSubmit?: (function, optional) - Called on form submission with form values -* onSubmitFailed?: (function, optional) - Called when submission fails due to validation errors, with form values +* validators (object, optional) - Form validation object - see validation +* initialValues (object, optional) - Initial form values in the form `{ [fieldName]: value }` +* onSubmit (function, optional) - Called on form submission with form values +* onSubmitFailed (function, optional) - Called when submission fails due to validation errors, with form values * onChange (function, optional) - Called when any form value changes, with all form values The render component you provide will receive the following props: @@ -174,16 +174,14 @@ The render component you provide will receive the following props: * Field (Component) - A component to create fields * form (object) - Props that must be passed to a