1 | import * as React from 'react';
|
2 | import { OUIAProps } from '../../helpers';
|
3 | export declare enum TextVariants {
|
4 | h1 = "h1",
|
5 | h2 = "h2",
|
6 | h3 = "h3",
|
7 | h4 = "h4",
|
8 | h5 = "h5",
|
9 | h6 = "h6",
|
10 | p = "p",
|
11 | a = "a",
|
12 | small = "small",
|
13 | blockquote = "blockquote",
|
14 | pre = "pre"
|
15 | }
|
16 | export interface TextProps extends React.HTMLProps<HTMLElement>, OUIAProps {
|
17 |
|
18 | component?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'a' | 'small' | 'blockquote' | 'pre';
|
19 |
|
20 | children?: React.ReactNode;
|
21 |
|
22 | className?: string;
|
23 |
|
24 | isVisitedLink?: boolean;
|
25 | }
|
26 | export declare const Text: React.FunctionComponent<TextProps>;
|
27 |
|
\ | No newline at end of file |