UNPKG

envoc-form

Version:

Envoc form components

11 lines (10 loc) 504 B
import React from 'react'; export interface SubmitFormButtonProps extends Omit<React.HTMLProps<HTMLButtonElement>, 'type'> { /** Allow the form to be submitted without any changes. By default this is not allowed. */ allowPristineSubmit?: boolean; /** Text to display on the button. Default text is 'Submit'. */ children?: React.ReactNode; } declare const _default: React.FunctionComponent<SubmitFormButtonProps>; /** Generic submit button for forms. */ export default _default;