mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
11 lines
630 B
TypeScript
11 lines
630 B
TypeScript
/// <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;
|
|
}
|