mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 08:09:13 +08:00
f7cfc19465
Co-authored-by: wynterding <dingwententao@youzan.com>
660 B
660 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
zh-CN
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
en-US
There are primary
button, default
button, dashed
button, text
button and link
button in antd.
import { Button } from 'antd';
ReactDOM.render(
<>
<Button type="primary">Primary Button</Button>
<Button>Default Button</Button>
<Button type="dashed">Dashed Button</Button>
<br />
<Button type="text">Text Button</Button>
<Button type="link">Link Button</Button>
</>,
mountNode,
);