1
0
elk/components/account/AccountHoverWrapper.vue

17 lines
279 B
Vue
Raw Normal View History

2022-11-27 11:13:18 +09:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<VMenu placement="bottom-start">
<slot />
<template #popper>
<AccountHoverCard :account="account" />
</template>
</VMenu>
</template>