elk/components/account/AccountHoverWrapper.vue

17 lines
313 B
Vue
Raw Normal View History

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