1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-24 23:26:09 +09:00
elk/components/account/AccountHoverWrapper.vue
2022-11-27 11:54:46 +08:00

17 lines
313 B
Vue

<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<VMenu placement="bottom-start" :delay="{ show: 500, hide: 100 }">
<slot />
<template #popper>
<AccountHoverCard :account="account" />
</template>
</VMenu>
</template>