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

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

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