mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 22:39:34 +08:00
f0c105d262
* feat: remove the hardcode of `use client` * chore: update `@ant-design/tools` * test: update * fix: incorrect dictionary * chore: update dep * ci: check use client * chore: update ci * fix: should be LIB_DIR * ci: should only run in dist * chore: update check tsx files
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;
|