feat: add info

This commit is contained in:
2023-04-16 21:52:44 +08:00
parent 5d5653d3bd
commit e5896c093a
10 changed files with 319 additions and 36 deletions

View File

@ -0,0 +1,25 @@
<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>
<script setup lang="ts"></script>
<template>
<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>
</template>