You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
516 B
21 lines
516 B
5 years ago
|
import Link from './Link';
|
||
6 years ago
|
import Paragraph from './Paragraph';
|
||
2 years ago
|
import Text from './Text';
|
||
|
import Title from './Title';
|
||
|
import OriginTypography from './Typography';
|
||
6 years ago
|
|
||
6 years ago
|
export type TypographyProps = typeof OriginTypography & {
|
||
6 years ago
|
Text: typeof Text;
|
||
5 years ago
|
Link: typeof Link;
|
||
6 years ago
|
Title: typeof Title;
|
||
|
Paragraph: typeof Paragraph;
|
||
|
};
|
||
|
|
||
|
const Typography = OriginTypography as TypographyProps;
|
||
|
Typography.Text = Text;
|
||
5 years ago
|
Typography.Link = Link;
|
||
6 years ago
|
Typography.Title = Title;
|
||
|
Typography.Paragraph = Paragraph;
|
||
|
|
||
|
export default Typography;
|