import { Button } from 'antd'
(2) 使用
<Button shape="circle"></Button>
import { DownloadOutlined } from '@ant-design/icons'
<Button icon={<DownloadOutlined />}> 下载</Button>
<Button
type="primary"
loading={this.state.loading}
style={{
marginRight: '20px',
}}
>
点击加载
</Button>
<Button disabled style={{ marginRight: '20px' }}>
禁用按钮
</Button>
<Button type="primary" style={{ marginRight: '20px' }}>按钮</Button>
<Button type="default" style={{ marginRight: '20px' }}>按钮</Button>
<Button type="dashed" style={{ marginRight: '20px' }}>按钮</Button>
<Button type="danger" style={{ marginRight: '20px' }}>按钮</Button>
<Button type="dashed" size='small'>次要按钮</Button>
<Button type="danger" size='default'>危险</Button>
<Button disabled size='large'>禁止</Button>
<Button block type="primary">
按钮按照父元素宽度走
</Button>