import { GlobalProps } from '../../shared/global'; export interface FormProps extends GlobalProps { /** * Whether input elements within the form can be automatically completed by the browser. * * @default 'on' */ autocomplete?: 'on' | 'off'; /** * Whether the form is able to be submitted. * * When set to `true`, this will also disable the implicit submit behavior of the form. */ disabled?: boolean; /** * A callback that is run when the form is submitted. */ onSubmit?: () => Promise | void; /** * A callback that is run when the form is resetted. */ onReset?: () => Promise | void; }