18 lines
363 B
TypeScript
18 lines
363 B
TypeScript
import styles from "./layout.module.css"
|
|
|
|
import type { LangParams, LayoutArgs } from "@/types/params"
|
|
|
|
export default function HotelReservationLayout({
|
|
children,
|
|
sidePeek,
|
|
}: React.PropsWithChildren<LayoutArgs<LangParams>> & {
|
|
sidePeek: React.ReactNode
|
|
}) {
|
|
return (
|
|
<div className={styles.layout}>
|
|
{children}
|
|
{sidePeek}
|
|
</div>
|
|
)
|
|
}
|