primevue-mirror/apps/showcase/doc/avatar/pt/PTViewer.vue

33 lines
929 B
Vue
Raw Normal View History

2024-09-18 13:05:52 +00:00
<template>
2024-09-20 12:22:44 +00:00
<DocPTViewer :docs="docs">
2024-09-18 13:05:52 +00:00
<div class="flex flex-wrap gap-8">
<AvatarGroup>
<Avatar label="P" size="xlarge" shape="circle" />
<Avatar icon="pi pi-user" size="xlarge" shape="circle" />
<Avatar image="https://www.gravatar.com/avatar/05dfd4b41340d09cae045235eb0893c3?d=mp" class="flex items-center justify-center" size="xlarge" shape="circle" />
</AvatarGroup>
</div>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
2024-09-20 12:22:44 +00:00
docs: [
2024-09-18 13:05:52 +00:00
{
data: getPTOptions('Avatar'),
key: 'Avatar'
},
{
data: getPTOptions('AvatarGroup'),
key: 'AvatarGroup'
}
]
};
}
};
</script>