mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
e597fe8ec6
* fix: Button block prop not work * fix * remove auto * update demo * fix * fix * fix width * fix * update demo
15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
import React from 'react';
|
|
import { Form, Button } from 'antd';
|
|
import { DownloadOutlined } from '@ant-design/icons';
|
|
|
|
const App: React.FC = () => (
|
|
<Form.Item>
|
|
<Button size="large" shape="round" block style={{ marginBottom: 12 }}>
|
|
Submit
|
|
</Button>
|
|
<Button size="large" shape="round" icon={<DownloadOutlined />} />
|
|
</Form.Item>
|
|
);
|
|
|
|
export default App;
|