UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

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