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

24 lines
477 B
Vue
Raw Normal View History

2024-09-19 06:55:07 +00:00
<template>
<DocPTViewer :docs="docs">
<DatePicker v-model="date" showIcon fluid iconDisplay="input" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
date: null,
docs: [
{
data: getPTOptions('DatePicker'),
key: 'DatePicker'
}
]
};
}
};
</script>