mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
21 lines
516 B
TypeScript
21 lines
516 B
TypeScript
import Link from './Link';
|
|
import Paragraph from './Paragraph';
|
|
import Text from './Text';
|
|
import Title from './Title';
|
|
import OriginTypography from './Typography';
|
|
|
|
export type TypographyProps = typeof OriginTypography & {
|
|
Text: typeof Text;
|
|
Link: typeof Link;
|
|
Title: typeof Title;
|
|
Paragraph: typeof Paragraph;
|
|
};
|
|
|
|
const Typography = OriginTypography as TypographyProps;
|
|
Typography.Text = Text;
|
|
Typography.Link = Link;
|
|
Typography.Title = Title;
|
|
Typography.Paragraph = Paragraph;
|
|
|
|
export default Typography;
|