GoScrobble/web/node_modules/formik-material-ui/dist/TextField.d.ts

11 lines
630 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
/// <reference types="react" />
import { TextFieldProps as MuiTextFieldProps } from '@material-ui/core/TextField';
import { FieldProps } from 'formik';
export interface TextFieldProps extends FieldProps, Omit<MuiTextFieldProps, 'name' | 'value' | 'error'> {
}
export declare function fieldToTextField({ disabled, field: { onBlur: fieldOnBlur, ...field }, form: { isSubmitting, touched, errors }, onBlur, helperText, ...props }: TextFieldProps): MuiTextFieldProps;
export declare function TextField({ children, ...props }: TextFieldProps): JSX.Element;
export declare namespace TextField {
var displayName: string;
}