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

24 lines
496 B
Vue
Raw Normal View History

2024-09-18 09:53:36 +00:00
<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Message closable severity="info" icon="pi pi-send">Info Message</Message>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
docs: [
{
data: getPTOptions('Message'),
key: 'Message'
}
]
};
}
};
</script>