mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-13 11:09:16 +08:00
26 lines
659 B
Vue
26 lines
659 B
Vue
<docs lang="zh-CN">
|
||
---
|
||
title: 按钮类型
|
||
---
|
||
|
||
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
||
</docs>
|
||
|
||
<docs lang="en-US">
|
||
---
|
||
title: Type
|
||
---
|
||
|
||
There are `primary` button, `default` button, `dashed` button, `text` button and `link` button in antd.
|
||
</docs>
|
||
|
||
<template>
|
||
<a-space wrap>
|
||
<a-button type="primary">Primary Button</a-button>
|
||
<a-button>Default Button</a-button>
|
||
<a-button type="dashed">Dashed Button</a-button>
|
||
<a-button type="text">Text Button</a-button>
|
||
<a-button type="link">Link Button</a-button>
|
||
</a-space>
|
||
</template>
|