import React from 'react'; import { Props, Variables } from '../../../common'; import { IHintWrapperProps } from '../../Formats/HintWrapper/HintWrapper'; interface ITextProps { /** Custom class name to use */ className?: string; /** If true, displays the text in uppercase */ isUpper?: boolean; /** Specify the text font weight */ weight?: Variables.FontWeight; /** Specify the type of text to use */ type?: Props.TypographyType; /** If true, will truncate overflowing text */ isTruncated?: boolean; /** If true, will display the text inline */ isInline?: boolean; /** If true, will italicize the text */ isItalic?: boolean; /** Color of the text */ color?: Variables.Color; /** Optional header tag to render the element with */ tag?: 'h1' | 'h2' | 'h3' | 'p' | 'span'; /** HTML data attributes to display on the text tag */ dataAttributes?: { [i: string]: any; }; /** The data-cy */ componentContext?: string; /** The props for the hint to apply to the text */ hintComponentProps?: IHintWrapperProps; /** The margins around the component */ margins?: Props.IMargins; } declare class Text extends React.PureComponent> { static Link: React.FC>; static defaultProps: Partial; get dataAttributes(): any; render(): JSX.Element; } export { ITextProps, Text };