// @flow import type { Globals } from "../common/common.js.flow"; export type Props = {| label?: string, title?: string, name?: string, placeholder?: string, fileName?: string, allowedFileTypes?: string | string[], help?: React$Node, error?: React$Node, onChange?: (ev: SyntheticInputEvent) => void | Promise, onFocus?: (ev: SyntheticInputEvent) => void | Promise, onBlur?: (ev: SyntheticInputEvent) => void | Promise, onRemoveFile?: () => void, ...Globals, |}; declare export default React$ComponentType;