@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.
25 lines (18 loc) • 735 B
TypeScript
// @flow
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
declare module "@kiwicom/orbit-components/lib/Heading";
type Type = "display" | "displaySubtitle" | "title1" | "title2" | "title3" | "title4" | "title5";
type As = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
export interface Props extends Common.Global, Common.SpaceAfter {
readonly as?: As;
readonly type?: Type;
readonly children: React.ReactNode;
readonly inverted?: boolean;
readonly dataA11ySection?: string;
readonly id?: string;
}
declare const Heading: React.FunctionComponent<Props>;
export { Heading, Heading as default };