primevue-mirror/pages/message/index.vue

76 lines
2.4 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 Message Component" header="Message" description="Messages is used to display inline messages with various severities." :componentDocs="docs" :apiDocs="['Message']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/message/AccessibilityDoc.vue';
import BasicDoc from '@/doc/message/BasicDoc.vue';
import ClosabledDoc from '@/doc/message/ClosableDoc.vue';
import CustomIconDoc from '@/doc/message/CustomIconDoc.vue';
import DynamicDoc from '@/doc/message/DynamicDoc.vue';
import ImportDoc from '@/doc/message/ImportDoc.vue';
import SeverityDoc from '@/doc/message/SeverityDoc.vue';
import StickyDoc from '@/doc/message/StickyDoc.vue';
import StyleDoc from '@/doc/message/StyleDoc.vue';
import TemplateDoc from '@/doc/message/TemplateDoc.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'severity',
label: 'Severity',
component: SeverityDoc
},
{
id: 'dynamic',
label: 'Dynamic',
component: DynamicDoc
},
{
id: 'closable',
label: 'Closable',
component: ClosabledDoc
},
{
id: 'sticky',
label: 'Sticky',
component: StickyDoc
},
{
id: 'custom-icon',
label: 'Custom Icon',
component: CustomIconDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
2022-09-09 20:41:18 +00:00
};
}
};
</script>