apps/platform/src/layouts/public.layout.tsx
Properties |
children |
children:
|
Type : React.ReactNode | React.ReactNode[]
|
import React, { FC } from 'react'
interface Props {
children: React.ReactNode | React.ReactNode[]
}
export const PublicLayout: FC<Props> = ({ children }) => {
return (
<div className="public_layout">
<main>{children}</main>
</div>
)
}