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

23 lines
481 B
Vue
Raw Normal View History

2024-09-18 09:58:59 +00:00
<template>
<DocPTViewer :docs="docs">
<Button label="Profile" icon="pi pi-user" severity="secondary" badge="2" badgeSeverity="contrast" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
docs: [
{
data: getPTOptions('Button'),
key: 'Button'
}
]
};
}
};
</script>