@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 (15 loc) • 595 B
Flow
// @flow
import type { ReactComponentStyled } from "styled-components";
import type { Globals, Translation } from "../../common/common.js.flow";
import type { Size } from "../index";
import type { Theme } from "../../defaultTheme";
export type Props = {|
+children: React$Node,
+label?: Translation,
+icon?: React$Element<any>,
...Globals,
|};
declare export default React$ComponentType<Props>;
declare export var Item: ReactComponentStyled<any>;
export type GetLineHeightToken = ({ theme: Theme, size: Size }) => string;
declare export var getLineHeightToken: GetLineHeightToken;