/** * 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 from 'react'; import clsx from 'clsx'; import { useThemeConfig } from '@docusaurus/theme-common'; import useBaseUrl from '@docusaurus/useBaseUrl'; export interface FooterLinkProps { [key: string]: any; to: string; label: string; href: string; prependBaseUrlToHref: boolean; } function Footer() { const { footer } = useThemeConfig(); if (!footer) { return null; } return ( ); } export default Footer;