mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
14 lines
771 B
TypeScript
14 lines
771 B
TypeScript
/// <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;
|