Sale Layout
💡
Folder location:
src/components/layouts/sales-layout
![](/sales-layout.png)
Examples
import SalesLayout from 'components/layouts/sales-layout'
import api from 'utils/__api__/layout'
export default async function Layout() {
const data = await api.getLayoutData()
return <SalesLayout data={data}>{children}</SalesLayout>
}
Inside Components
- Topbar (opens in a new tab)
- Header (opens in a new tab)
- Navbar (opens in a new tab)
- Footer (opens in a new tab)
- MobileNavigationBar (opens in a new tab)
Used
Props
Name | Type | Required | Default |
---|---|---|---|
data | Object | Yes | - |
children | ReactNode | Yes | - |