import * as React from "react"; import { ThemeResult } from "../Theme/Theme"; import { DisplayableProps } from "../Layout"; export type TextType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span"; export interface TextProps extends DisplayableProps { children: any; renderAs: TextType; className?: string; style?: React.CSSProperties; theme: ThemeResult; onClick?(): any; title?: string; defaultProps?: any; } declare const _default: React.FunctionComponent>; export default _default;