ant-design/components/typography/demo/componentToken-debug.tsx
二货爱吃白萝卜 2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00

108 lines
4.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import { ConfigProvider, Divider, Typography } from 'antd';
const { Title, Paragraph, Text, Link } = Typography;
const blockContent = `AntV 是蚂蚁集团全新一代数据可视化解决方案致力于提供一套简单方便、专业可靠、不限可能的数据可视化最佳实践。得益于丰富的业务场景和用户需求挑战AntV 经历多年积累与不断打磨,已支撑整个阿里集团内外 20000+ 业务系统,通过了日均千万级 UV 产品的严苛考验。
我们正在基础图表,图分析,图编辑,地理空间可视化,智能可视化等各个可视化的领域耕耘,欢迎同路人一起前行。`;
const App: React.FC = () => (
<ConfigProvider
theme={{
components: {
Typography: {
fontWeightStrong: 700,
titleMarginTop: '2.4em',
titleMarginBottom: '1em',
},
},
}}
>
<Typography>
<Title>Introduction</Title>
<Paragraph>
In the process of internal desktop applications development, many different design specs and
implementations would be involved, which might cause designers and developers difficulties
and duplication and reduce the efficiency of development.
</Paragraph>
<Paragraph>
After massive project practice and summaries, Ant Design, a design language for background
applications, is refined by Ant UED Team, which aims to{' '}
<Text strong>
uniform the user interface specs for internal background projects, lower the unnecessary
cost of design differences and implementation and liberate the resources of design and
front-end development
</Text>
.
</Paragraph>
<Title level={2}>Guidelines and Resources</Title>
<Paragraph>
We supply a series of design principles, practical patterns and high quality design
resources (<Text code>Sketch</Text> and <Text code>Axure</Text>), to help people create
their product prototypes beautifully and efficiently.
</Paragraph>
<Paragraph>
<ul>
<li>
<Link href="/docs/spec/proximity">Principles</Link>
</li>
<li>
<Link href="/docs/spec/overview">Patterns</Link>
</li>
<li>
<Link href="/docs/resources">Resource Download</Link>
</li>
</ul>
</Paragraph>
<Paragraph>
Press <Text keyboard>Esc</Text> to exit...
</Paragraph>
<Divider />
<Title></Title>
<Paragraph>
</Paragraph>
<Paragraph>
Ant Design<Text mark></Text>
<Text strong></Text>
</Paragraph>
<Title level={2}></Title>
<Paragraph>
<Text code>Sketch</Text>
<Text code>Axure</Text>
</Paragraph>
<Paragraph>
<ul>
<li>
<Link href="/docs/spec/proximity-cn"></Link>
</li>
<li>
<Link href="/docs/spec/overview-cn"></Link>
</li>
<li>
<Link href="/docs/resources-cn"></Link>
</li>
</ul>
</Paragraph>
<Paragraph>
<blockquote>{blockContent}</blockquote>
<pre>{blockContent}</pre>
</Paragraph>
<Paragraph>
<Text keyboard>Esc</Text>退
</Paragraph>
</Typography>
</ConfigProvider>
);
export default App;