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

25 lines
471 B
Vue
Raw Normal View History

2024-09-19 07:01:54 +00:00
<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Rating v-model="value" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('Rating'),
key: 'Rating'
}
]
};
}
};
</script>