// @flow /* DOCUMENTATION: https://orbit.kiwi/components/inputfile/ */ import * as React from "react"; import type { Globals, Translation, TranslationString, Ref } from "../../common/common.js.flow"; import type { spaceAfter } from "../../common/getSpacingToken"; export type Props = {| ...Globals, ...spaceAfter, +label?: Translation, +buttonLabel?: React.Node, +name?: string, +placeholder?: TranslationString, +fileName?: string, +allowedFileTypes?: string | string[], +help?: React.Node, +error?: React.Node, tabIndex?: string | number, +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;