This commit is contained in:
Viet An
2026-07-02 13:55:35 +07:00
parent e91f0d22c4
commit 976816d408
7 changed files with 290 additions and 318 deletions

View File

@@ -3,13 +3,19 @@ const props = defineProps({
text: String,
image: String,
type: String,
size: String,
size: {
type: Number,
default: 9,
},
});
</script>
<template>
<div
@click="$emit('justclick')"
class="avatarbox rounded-full mx-0 px-0 size-9 font-bold is-flex is-justify-content-center is-align-items-center"
:class="[
'avatarbox rounded-full mx-0 px-0 font-bold is-flex is-justify-content-center is-align-items-center',
`size-${size}`,
]"
:style="{
border: image ? 'none' : '1px solid var(--bulma-grey-90)',
}"