layout.tsx 438 B

12345678910111213141516171819
  1. import type { ReactNode } from "react";
  2. import { EpochSelect } from "./epoch-select";
  3. import styles from "./layout.module.scss";
  4. import { H1 } from "../H1";
  5. type Props = {
  6. children: ReactNode | undefined;
  7. };
  8. export const PublishersLayout = ({ children }: Props) => (
  9. <div className={styles.publishersLayout}>
  10. <div className={styles.header}>
  11. <H1>Publishers</H1>
  12. <EpochSelect />
  13. </div>
  14. {children}
  15. </div>
  16. );