elk/components/account/AccountCard.vue
2022-11-25 18:54:49 +08:00

18 lines
375 B
Vue

<script setup lang="ts">
import type { Account } from 'masto'
const { account } = defineProps<{
account: Account
}>()
cacheAccount(account)
</script>
<template>
<div flex justify-between hover:bg-active transition-100>
<AccountInfo :account="account" hover p1 />
<div h-full p1>
<AccountFollowButton :account="account" />
</div>
</div>
</template>