elk/components/account/AccountHoverWrapper.vue

17 lines
313 B
Vue
Raw Normal View History

2022-11-27 02:13:18 +00:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
2022-11-27 03:54:46 +00:00
<VMenu placement="bottom-start" :delay="{ show: 500, hide: 100 }">
2022-11-27 02:13:18 +00:00
<slot />
<template #popper>
<AccountHoverCard :account="account" />
</template>
</VMenu>
</template>