You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
901 B
27 lines
901 B
import React from 'react';
|
|
import { Space, Typography } from 'antd';
|
|
|
|
const { Text, Link } = Typography;
|
|
|
|
const App: React.FC = () => (
|
|
<Space direction="vertical">
|
|
<Text>Ant Design (default)</Text>
|
|
<Text type="secondary">Ant Design (secondary)</Text>
|
|
<Text type="success">Ant Design (success)</Text>
|
|
<Text type="warning">Ant Design (warning)</Text>
|
|
<Text type="danger">Ant Design (danger)</Text>
|
|
<Text disabled>Ant Design (disabled)</Text>
|
|
<Text mark>Ant Design (mark)</Text>
|
|
<Text code>Ant Design (code)</Text>
|
|
<Text keyboard>Ant Design (keyboard)</Text>
|
|
<Text underline>Ant Design (underline)</Text>
|
|
<Text delete>Ant Design (delete)</Text>
|
|
<Text strong>Ant Design (strong)</Text>
|
|
<Text italic>Ant Design (italic)</Text>
|
|
<Link href="https://ant.design" target="_blank">
|
|
Ant Design (Link)
|
|
</Link>
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|
|
|