UNPKG

formik-material-ui

Version:

[![Build Status](https://travis-ci.org/stackworx/formik-material-ui.svg?branch=master)](https://travis-ci.org/stackworx/formik-material-ui) [![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE) [![Coverage Status](https://coveralls.io/repos/git

12 lines (11 loc) 629 B
/// <reference types="react" /> import { FieldProps } from 'formik'; 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' | 'onChange'>; InputLabelProps?: InputLabelProps; } export declare const SimpleFileUpload: ({ label, field, form: { touched, errors, isSubmitting, setFieldValue }, disabled, InputProps: inputProps, InputLabelProps: inputLabelProps, }: SimpleFileUploadProps) => JSX.Element;