mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
c35787696b
* demo: update demo * rerun ci
26 lines
514 B
TypeScript
26 lines
514 B
TypeScript
import React from 'react';
|
|
import { Button, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space direction="vertical" style={{ width: '100%' }}>
|
|
<Button type="primary" block>
|
|
Primary
|
|
</Button>
|
|
<Button block>Default</Button>
|
|
<Button type="dashed" block>
|
|
Dashed
|
|
</Button>
|
|
<Button disabled block>
|
|
disabled
|
|
</Button>
|
|
<Button type="text" block>
|
|
text
|
|
</Button>
|
|
<Button type="link" block>
|
|
Link
|
|
</Button>
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|