import { ComponentProps, ElementType, PropsWithChildren, ReactElement } from 'react'; import { GetButtonProps } from '../useForm'; export type ButtonProps = Omit, 'component' | 'type'> & PropsWithChildren & { /** * The custom component to render. */ component?: C; /** * The type of button. */ type?: GetButtonProps['type']; }; declare function Button(props: ButtonProps): ReactElement; export default Button; //# sourceMappingURL=Button.d.ts.map