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.
18 lines
437 B
18 lines
437 B
6 years ago
|
import OriginTypography from './Typography';
|
||
|
import Text from './Text';
|
||
|
import Title from './Title';
|
||
|
import Paragraph from './Paragraph';
|
||
|
|
||
|
type TypographyProps = typeof OriginTypography & {
|
||
|
Text: typeof Text;
|
||
|
Title: typeof Title;
|
||
|
Paragraph: typeof Paragraph;
|
||
|
};
|
||
|
|
||
|
const Typography = OriginTypography as TypographyProps;
|
||
|
Typography.Text = Text;
|
||
|
Typography.Title = Title;
|
||
|
Typography.Paragraph = Paragraph;
|
||
|
|
||
|
export default Typography;
|