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

26 lines
557 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<SelectButton v-model="value" :options="options" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: 'One-Way',
options: ['One-Way', 'Return'],
docs: [
{
data: getPTOptions('SelectButton'),
key: 'SelectButton'
}
]
};
}
};
</script>