import {ReactNode} from 'react'
import Header from './_client/header'
import Navbar from './_client/navbar'
import Layout from './_client/layout'

export type AdminLayoutProps = {
  children: ReactNode
}

export default async function AdminLayout(props: AdminLayoutProps) {
  return (
    <Layout
      navbar={<Navbar/>}
      header={<Header/>}
      content={props.children}
    />
  )
}
