mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-28 11:34:41 +03:00
16 lines
303 B
JavaScript
16 lines
303 B
JavaScript
import React from 'react'
|
|
|
|
import Navbar from './Navbar'
|
|
import './UserPageLayout.css'
|
|
|
|
const UserPageLayout = ({ user, children }) => (
|
|
<div className='layout-root'>
|
|
<Navbar user={user} />
|
|
<div className='layout-content'>
|
|
{children}
|
|
</div>
|
|
</div>
|
|
)
|
|
|
|
export default UserPageLayout
|