This commit is contained in:
2025-10-04 13:57:53 +08:00
parent 204bbf2d3c
commit c8751223db
7 changed files with 80 additions and 53 deletions

View File

@@ -0,0 +1,21 @@
<template>
<n-tooltip>
<template #trigger>
<n-button circle @click="$emit('click')">
<template #icon>
<Icon :icon="icon" />
</template>
</n-button>
</template>
{{ tip }}
</n-tooltip>
</template>
<script lang="ts" setup>
import { Icon } from "@iconify/vue"
defineProps<{
tip: string
icon: string
}>()
defineEmits(["click"])
</script>