UNPKG

@react-form-fields/material-ui

Version:

Material UI Form Fields

12 lines (11 loc) 496 B
import * as React from 'react'; interface IProps extends React.Props<IFormValidationRef> { onSubmit: (valid: boolean) => void; className?: string; } export interface IFormValidationRef { isValid(formSubmitted?: boolean): Promise<boolean>; reset(): void; } declare const FormValidation: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<IProps, "onSubmit" | "className" | "key" | "children"> & React.RefAttributes<IFormValidationRef>>>; export default FormValidation;