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

14 lines
771 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
/// <reference types="react" />
import { FieldProps } from 'formik';
import { FormControlProps } from '@material-ui/core/FormControl';
import { InputLabelProps } from '@material-ui/core/InputLabel';
import { InputProps } from '@material-ui/core/Input';
export interface SimpleFileUploadProps extends FieldProps {
label: string;
disabled?: boolean;
InputProps?: Omit<InputProps, 'name' | 'type' | 'label'>;
InputLabelProps?: InputLabelProps;
FormControlProps?: FormControlProps;
}
export declare const SimpleFileUpload: ({ field, form: { isSubmitting, touched, errors, setFieldValue }, label, disabled, InputProps: inputProps, InputLabelProps: inputLabelProps, FormControlProps: formControlProps, }: SimpleFileUploadProps) => JSX.Element;