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

25 lines
477 B
Vue

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