mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
18 lines
437 B
TypeScript
18 lines
437 B
TypeScript
|
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;
|