antd-tiny-vue/site/demos/button/basic.vue

26 lines
414 B
Vue
Raw Normal View History

2023-02-26 08:20:18 +08:00
<docs>
---
title: 基础按钮
---
这是一个Button的基础按钮
</docs>
2023-03-06 07:29:33 +08:00
<script lang="ts" setup></script>
2023-02-26 08:20:18 +08:00
<template>
2023-03-27 07:51:19 +08:00
<div style="display: flex; gap: 10px; padding-bottom: 10px">
2023-03-10 22:18:22 +08:00
<a-button>这是按钮</a-button>
2023-03-27 07:51:19 +08:00
<a-button type="primary">这是按钮</a-button>
<a-button
type="primary"
danger
>
这是按钮
</a-button>
2023-03-10 22:18:22 +08:00
</div>
2023-02-26 08:20:18 +08:00
</template>
<style scoped></style>