mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
20 lines
425 B
TypeScript
20 lines
425 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex wrap="wrap" gap="small" className="site-button-ghost-wrapper">
|
|
<Button type="primary" ghost>
|
|
Primary
|
|
</Button>
|
|
<Button ghost>Default</Button>
|
|
<Button type="dashed" ghost>
|
|
Dashed
|
|
</Button>
|
|
<Button type="primary" danger ghost>
|
|
Danger
|
|
</Button>
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|