feat: migrate Modal Popover and Tooltip with shared overlay foundation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { Button, Tooltip, TooltipContent } from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<Tooltip :delay="0">
|
||||
<Button variant="secondary">分享链接</Button>
|
||||
<TooltipContent
|
||||
class="rounded-lg border border-border/80 bg-surface px-2.5 py-1 text-xs text-foreground shadow-sm"
|
||||
>
|
||||
<p>已复制到剪贴板</p>
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
</template>
|
||||
Reference in New Issue
Block a user