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

interface Iprops {
  children?: ReactNode
}

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

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

export default Foo
