feat(WEB-154): my profile view
This commit is contained in:
16
app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
Normal file
16
app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
type ProfileLayoutProps = React.PropsWithChildren<{
|
||||
edit: React.ReactNode
|
||||
verifyCode: React.ReactNode
|
||||
view: React.ReactNode
|
||||
}>
|
||||
|
||||
export default function ProfileLayout({ children, edit, verifyCode, view }: ProfileLayoutProps) {
|
||||
return (
|
||||
<>
|
||||
{edit}
|
||||
{view}
|
||||
{children}
|
||||
{verifyCode}
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user