import React from 'react'; import type { Section } from '@teambit/component'; import type { APIReferenceUI } from '@teambit/api-reference'; import type { TitleBadgeSlot, OverviewOptionsSlot } from './overview'; import { Overview } from './overview'; import type { DocsUI, UsePreviewSandboxSlot, UsePreviewPropsSlot } from './docs.ui.runtime'; export class OverviewSection implements Section { constructor( /** * title badge slot. */ private titleBadgeSlot: TitleBadgeSlot, private overviewOptionsSlot: OverviewOptionsSlot, private docs: DocsUI, private apiRef: APIReferenceUI, private usePreviewSandboxSlot: UsePreviewSandboxSlot, private usePreviewPropsSlot: UsePreviewPropsSlot ) {} navigationLink = { href: '.', exact: true, children: 'Overview', }; route = { index: true, element: ( ), }; order = 10; }