mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
23 lines
436 B
TypeScript
23 lines
436 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex wrap="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;
|