18 lines
372 B
TypeScript
18 lines
372 B
TypeScript
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>
|
|
)
|
|
}
|