import React, {type ReactNode} from 'react';
import Footer from '@theme-original/DocItem/Footer';
import type FooterType from '@theme/DocItem/Footer';
import type {WrapperProps} from '@docusaurus/types';
import RelatedDocuments from '../../../components/RelatedDocuments';
import DocFeedback from '../../../components/DocFeedback';

type Props = WrapperProps<typeof FooterType>;

export default function FooterWrapper(props: Props): ReactNode {
  return (
    <>
      <Footer {...props} />
      <RelatedDocuments />
      <DocFeedback />
    </>
  );
}
