feat: add CloseButton Avatar and Skeleton components
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user