feat: add CloseButton Avatar and Skeleton components

This commit is contained in:
maoyingjie
2026-10-21 17:06:53 +08:00
parent 56b1ef11d8
commit 3d05fea7bd
60 changed files with 3906 additions and 57 deletions
@@ -0,0 +1,12 @@
<script setup lang="ts">
import { ref } from "vue";
import { CloseButton } from "@heroui-vue/components";
const count = ref(0);
</script>
<template>
<div class="flex flex-col items-center justify-center gap-4">
<CloseButton :aria-label="`关闭(已点击 ${count} 次)`" @click="count++" />
<span class="text-sm text-muted">已点击:{{ count }} 次</span>
</div>
</template>