@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.
20 lines (16 loc) • 472 B
Flow
// @flow
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
export type Props = {|
+id?: string,
+shown: boolean,
+error?: React.Node,
+helpClosable?: boolean,
+help?: React.Node,
+referenceElement?: {| current: HTMLElement | null |},
+inlineLabel?: boolean,
+inputSize?: "small" | "normal",
+onShown: ((boolean => boolean) | boolean) => void,
...Globals,
|};
declare export default React.ComponentType<Props>;