/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, {type ReactNode} from 'react'; import {PageMetadata} from '@docusaurus/theme-common'; import {useCurrentSidebarCategory} from '@docusaurus/plugin-content-docs/client'; import useBaseUrl from '@docusaurus/useBaseUrl'; import DocCardList from '@theme/DocCardList'; import DocPaginator from '@theme/DocPaginator'; import DocVersionBanner from '@theme/DocVersionBanner'; import DocVersionBadge from '@theme/DocVersionBadge'; import DocBreadcrumbs from '@theme/DocBreadcrumbs'; import Heading from '@theme/Heading'; import type {Props} from '@theme/DocCategoryGeneratedIndexPage'; import styles from './styles.module.css'; function DocCategoryGeneratedIndexPageMetadata({ categoryGeneratedIndex, }: Props): ReactNode { return ( ); } function DocCategoryGeneratedIndexPageContent({ categoryGeneratedIndex, }: Props): ReactNode { const category = useCurrentSidebarCategory(); return (
{categoryGeneratedIndex.title} {categoryGeneratedIndex.description && (

{categoryGeneratedIndex.description}

)}
); } export default function DocCategoryGeneratedIndexPage(props: Props): ReactNode { return ( <> ); }