FormFootercomponent

FormFooter({ children, submit }: FormFooterProps): ReactElement
ParamType
propsFormFooterProps
Props for FormFooter, the submit-button-and-message footer for a form. required
    .submitReactNode
Return
ReactElement
A footer element with the submit row and form message.

Show a form footer with a submit button and the form's error message.

  • Renders a row containing a SubmitButton (and any extra buttons passed as children).
  • Renders a <FormMessage> beneath the buttons showing any error set on the form.

Examples

<FormFooter submit="Save" />