@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.
23 lines (20 loc) • 672 B
Flow
// @flow
import type { Globals } from "../common/common.js.flow";
export type Props = {|
+size?: "small" | "normal",
+name?: string,
+label?: string,
+value?: string,
+fullHeight?: boolean,
+placeholder?: string,
+help?: React$Node,
+error?: React$Node,
+resize?: "vertical" | "none",
+disabled?: boolean,
+maxLength?: number,
+onChange?: (ev: SyntheticInputEvent<HTMLTextAreaElement>) => void | Promise<any>,
+onFocus?: (ev: SyntheticInputEvent<HTMLTextAreaElement>) => void | Promise<any>,
+onBlur?: (ev: SyntheticInputEvent<HTMLTextAreaElement>) => void | Promise<any>,
...Globals,
|};
declare export default React$ComponentType<Props>;