primevue-mirror/apps/showcase/doc/inputgroup/pt/index.vue

48 lines
1.3 KiB
Vue

<template>
<div class="doc-main">
<div class="doc-intro">
<h1>InputGroup Pass Through</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
import { getPTOptions } from '@/components/doc/helpers';
// import PtDoc from './PTDoc.vue';
import PTViewer from './PTViewer.vue';
export default {
data() {
return {
docs: [
{
id: 'pt.viewer',
label: 'Viewer',
component: PTViewer
},
{
id: 'pt.doc.inputgroup',
label: 'InputGroup PT Options',
component: DocApiTable,
data: getPTOptions('InputGroup')
},
{
id: 'pt.doc.inputgroupaddon',
label: 'InputGroupAddon PT Options',
component: DocApiTable,
data: getPTOptions('InputGroupAddon')
}
// {
// id: 'pt.demo',
// label: 'Demo',
// component: PtDoc
// }
]
};
}
};
</script>