@kiwicom/orbit-components
Version:
<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"
22 lines (19 loc) • 647 B
Flow
// @flow
import type { Globals } from "../common/common.js.flow";
export type Props = {|
+size?: "small" | "normal",
+name?: string,
+label?: string,
+value?: string,
+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>;