// @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/index.js.flow"; export type Props = {| ...Globals, ...spaceAfter, +label?: Translation, +buttonLabel?: React.Node, +name?: string, +placeholder?: TranslationString, +disabled?: boolean, +fileName?: string, +required?: boolean, +helpClosable?: boolean, +allowedFileTypes?: string | string[], +insideInputGroup?: boolean, +help?: React.Node, +width?: string, +error?: React.Node, tabIndex?: string | number, +onChange?: (ev: SyntheticInputEvent) => void | Promise, +onFocus?: (ev: SyntheticInputEvent) => void | Promise, +onBlur?: (ev: SyntheticInputEvent) => void | Promise, +onRemoveFile?: () => void | Promise, +multiple?: boolean, ref?: Ref, |}; declare export default React.ComponentType;