mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
80e3dfa9be
* init * move to base * add link component * update snasphot * update snasphot of test * move to Typography * update test case
21 lines
516 B
TypeScript
21 lines
516 B
TypeScript
import OriginTypography from './Typography';
|
|
import Text from './Text';
|
|
import Link from './Link';
|
|
import Title from './Title';
|
|
import Paragraph from './Paragraph';
|
|
|
|
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;
|