mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 06:58:33 +08:00
25 lines
702 B
TypeScript
25 lines
702 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Space } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space>
|
||
|
<Space.Compact direction="vertical">
|
||
|
<Button>Button 1</Button>
|
||
|
<Button>Button 2</Button>
|
||
|
<Button>Button 3</Button>
|
||
|
</Space.Compact>
|
||
|
<Space.Compact direction="vertical">
|
||
|
<Button type="dashed">Button 1</Button>
|
||
|
<Button type="dashed">Button 2</Button>
|
||
|
<Button type="dashed">Button 3</Button>
|
||
|
</Space.Compact>
|
||
|
<Space.Compact direction="vertical">
|
||
|
<Button type="primary">Button 1</Button>
|
||
|
<Button type="primary">Button 2</Button>
|
||
|
<Button type="primary">Button 3</Button>
|
||
|
</Space.Compact>
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|