<template>
    <div class="doc-main">
        <div class="doc-intro">
            <h1>Avatar Pass Through</h1>
            <p>Description</p>
        </div>
        <DocSections :docs="docs" />
    </div>
    <DocSectionNav :docs="docs" />
</template>

<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
import { getPTOption } from '@/components/doc/helpers/PTHelper.js';
import PtDoc from './PTDoc.vue';
import PTImage from './PTImage.vue';

export default {
    data() {
        return {
            docs: [
                {
                    id: 'pt.image',
                    label: 'WireFrame',
                    component: PTImage
                },
                {
                    id: 'pt.doc.avatar',
                    label: 'Avatar PT Options',
                    component: DocApiTable,
                    data: getPTOption('Avatar')
                },
                {
                    id: 'pt.doc.tab',
                    label: 'AvatarGroup PT Options',
                    component: DocApiTable,
                    data: getPTOption('AvatarGroup')
                },
                {
                    id: 'pt.demo',
                    label: 'Demo',
                    component: PtDoc
                }
            ]
        };
    }
};
</script>
