import { DisplayProperty, TextTransformProperty } from "csstype"; import * as React from "react"; import { FontWeight, Leading, Tracking } from "../../foundations/foundation-types"; import { BaseProps } from "../Base"; export interface TextProps extends BaseProps { display?: DisplayProperty | DisplayProperty[]; fontWeight?: FontWeight | FontWeight[]; fontFamily?: string | string[]; fontStyle?: string | string[]; lineHeight?: Leading | Leading[]; fontSize?: number | number[]; color?: string | string[]; textTransform?: TextTransformProperty | TextTransformProperty[]; letterSpacing?: Tracking | Tracking[]; ellipsis?: boolean; lineClamp?: number; transition?: string | string[]; textDecoration?: string | string[]; } /** * All text in our apps should be wrapped in a Text component. `Text` uses our responsive type scale under the hood and connects props with all our type foundations. */ declare const Text: React.SFC; export default Text;