mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
20 lines
418 B
TypeScript
20 lines
418 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex 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;
|