@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 (16 loc) • 566 B
Flow
// @flow
import type { ReactComponentStyled } from "styled-components";
import type { Globals } from "../common/common.js.flow";
import type { spaceAfter } from "../common/getSpacingToken/index";
type Element = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
type Type = "display" | "title1" | "title2" | "title3";
export type Props = {|
+element?: Element,
+type?: Type,
+children: React$Node,
+inverted?: boolean,
...Globals,
...spaceAfter,
|};
declare export default React$ComponentType<Props>;
declare export var StyledHeading: ReactComponentStyled<>;