aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/page-footer.tsx
blob: e0ce2efb21d92bb3d47833db3ebbb8115dc26ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import type { FC, ReactNode } from 'react';
import { Footer, type FooterProps } from '../../atoms';

export type PageFooterProps = Omit<FooterProps, 'children'> & {
  /**
   * The footer contents.
   */
  children?: ReactNode;
};

/**
 * PageFooter component
 *
 * Render a footer to display page meta.
 */
export const PageFooter: FC<PageFooterProps> = ({ children, ...props }) => (
  <Footer {...props}>{children}</Footer>
);