mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
5a7434c5d6
close #15190
18 lines
444 B
TypeScript
18 lines
444 B
TypeScript
import OriginTypography from './Typography';
|
|
import Text from './Text';
|
|
import Title from './Title';
|
|
import Paragraph from './Paragraph';
|
|
|
|
export 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;
|