@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.
10 lines (9 loc) • 679 B
TypeScript
/// <reference types="react" />
import type { Theme } from "../defaultTheme";
import type { Props, Type } from "./types";
export declare const getHeadingToken: (name: string, type: Type) => ({ theme }: {
theme: Theme;
}) => any;
export declare const StyledHeading: import("styled-components").StyledComponent<({ element: Component, className, children, dataTest, dataA11ySection, id }: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
declare const Heading: ({ children, type, align, as, dataTest, inverted, spaceAfter, dataA11ySection, id, mediumMobile, largeMobile, tablet, desktop, largeDesktop, }: Props) => JSX.Element;
export default Heading;