import styles from "./layout.module.css"

import { LangParams, LayoutArgs } from "@/types/params"

export default async function MyPagesLayout({
  breadcrumbs,
  children,
}: React.PropsWithChildren<LayoutArgs<LangParams>> & {
  breadcrumbs: React.ReactNode
}) {
  return (
    <section className={styles.layout}>
      {breadcrumbs}
      {children}
    </section>
  )
}
