import React, { type ReactElement, type ReactNode } from 'react'
import Layout from '@/components/default'

interface Iprops {
  children?: ReactNode
}

const Bar = (props: Iprops) => {
  return <div>Bar </div>
}

Bar.getLayout = function getLayout(page: ReactElement) {
  return (
    <Layout>
      <div className="">这是profile的公共头部</div>
      {page}
    </Layout>
  )
}

export default Bar
