// @flow /* DOCUMENTATION: https://orbit.kiwi/components/inputfile/ */ import type { Globals, Translation, Ref } from "../common/common.js.flow"; import type { spaceAfter } from "../common/getSpacingToken/index"; export type Props = {| ...Globals, ...spaceAfter, +label?: Translation, +title?: React$Node, +name?: string, +placeholder?: Translation, +fileName?: string, +allowedFileTypes?: string | string[], +help?: React$Node, +error?: React$Node, tabIndex?: string, +onChange?: (ev: SyntheticInputEvent) => void | Promise, +onFocus?: (ev: SyntheticInputEvent) => void | Promise, +onBlur?: (ev: SyntheticInputEvent) => void | Promise, +onRemoveFile?: () => void | Promise, ref?: Ref, |}; declare export default React$ComponentType;