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

25 lines
496 B
Vue
Raw Normal View History

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