mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +08:00
23 lines
429 B
TypeScript
23 lines
429 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex wrap gap="small">
|
|
<Button type="primary" danger>
|
|
Primary
|
|
</Button>
|
|
<Button danger>Default</Button>
|
|
<Button type="dashed" danger>
|
|
Dashed
|
|
</Button>
|
|
<Button type="text" danger>
|
|
Text
|
|
</Button>
|
|
<Button type="link" danger>
|
|
Link
|
|
</Button>
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|