Submit

    Allow users to trigger form submissions with the <Submit>

    API

    import Form from 'react-formal';const Submit = Form.Submit

    A Form submit button, for triggering validations for the entire form or specific fields.

    as

    Control the rendering of the Form Submit component when not using the render prop form of children.

    <Form.Submit as={MyButton}>
    Submit
    </Form.Submit>
    type:TAs

    onClick

    A string or array of event names that trigger validation.

    type:(args: any[]) => any
    default:'onClick'

    triggers

    Specify particular fields to validate in the related form. If empty the entire form will be validated.

    type:string[]