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

32 lines
729 B
Vue
Raw Permalink 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">
<Badge value="2"></Badge>
<OverlayBadge value="3">
<i class="pi pi-bell" style="font-size: 2rem" />
</OverlayBadge>
</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('Badge'),
key: 'Badge'
},
{
data: getPTOptions('OverlayBadge'),
key: 'OverlayBadge'
}
]
};
}
};
</script>