primevue-mirror/pages/avatar/index.vue

64 lines
2.0 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent title="Vue Avatar Component" header="Avatar" description="Avatar represents people using icons, labels and images." :componentDocs="docs" :apiDocs="['Avatar']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/avatar/accessibilitydoc';
import AvatarGroupDoc from '@/doc/avatar/avatargroupdoc';
import IconDoc from '@/doc/avatar/icondoc';
import ImageDoc from '@/doc/avatar/imagedoc';
import ImportDoc from '@/doc/avatar/importdoc';
import LabelDoc from '@/doc/avatar/labeldoc';
import StylingAvatarDoc from '@/doc/avatar/stylingavatardoc';
import StylingAvatarGroupDoc from '@/doc/avatar/stylingavatargroupdoc';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'label',
label: 'Label',
component: LabelDoc
},
{
id: 'icon',
label: 'Icon',
component: IconDoc
},
{
id: 'image',
label: 'Image',
component: ImageDoc
},
{
id: 'avatargroup',
label: 'AvatarGroup',
component: AvatarGroupDoc
},
{
id: 'stylingofavatar',
label: 'Styling of Avatar',
component: StylingAvatarDoc
},
{
id: 'stylingofavatargroup',
label: 'Styling of Avatar Group',
component: StylingAvatarGroupDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
};
2022-09-09 20:41:18 +00:00
}
};
</script>