@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 (14 loc) • 480 B
Flow
// @flow
import type { CSSRules } from "styled-components";
import type { ThemeProps } from "../../../defaultTheme";
import type { Position } from "..";
export type Props = {|
error?: boolean,
help?: boolean,
...Position,
...ThemeProps,
|};
type TooltipArrowStyle = Props => CSSRules;
export type ResolveColor = ({| error?: boolean, help?: boolean, ...ThemeProps |}) => string;
declare export var resolveColor: ResolveColor;
declare export default TooltipArrowStyle;