popover controls for user-card

This commit is contained in:
Henry Jameson 2022-06-16 17:06:16 +03:00
commit 60571685c2
4 changed files with 81 additions and 24 deletions

View file

@ -9,14 +9,13 @@
<template v-slot:trigger>
<slot />
</template>
<template v-slot:content>
<template v-slot:content={close}>
<UserCard
class="user-popover"
:user-id="userId"
:hide-bio="true"
:bordered="false"
:allow-zooming-avatar="true"
:rounded="true"
:onClose="close"
/>
</template>
</Popover>