import Header from "@/components/Current/Header"

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

export default function HeaderLayout({
  params,
  languageSwitcher,
  myPagesMobileDropdown,
}: PageArgs<LangParams> & {
  languageSwitcher: React.ReactNode
} & { myPagesMobileDropdown: React.ReactNode }) {
  return (
    <Header
      lang={params.lang}
      myPagesMobileDropdown={myPagesMobileDropdown}
      languageSwitcher={languageSwitcher}
    />
  )
}
