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

29 lines
797 B
Vue
Raw Normal View History

2024-09-18 13:06:57 +00:00
<template>
2024-09-20 12:22:44 +00:00
<DocPTViewer :docs="docs">
2024-09-18 13:06:57 +00:00
<MeterGroup :value="value" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: [
{ label: 'Apps', color: '#34d399', value: 16, icon: 'pi pi-table' },
{ label: 'Messages', color: '#fbbf24', value: 8, icon: 'pi pi-inbox' },
{ label: 'Media', color: '#60a5fa', value: 24, icon: 'pi pi-image' },
{ label: 'System', color: '#c084fc', value: 10, icon: 'pi pi-cog' }
],
2024-09-20 12:22:44 +00:00
docs: [
2024-09-18 13:06:57 +00:00
{
data: getPTOptions('MeterGroup'),
key: 'MeterGroup'
}
]
};
}
};
</script>