Layouts
Shop Layout 2

Shop Layout 2

💡
Folder location: src/components/layouts/shop-layout-2

Examples

import ShopLayout2 from 'components/layouts/shop-layout-2'
import api from 'utils/__api__/layout'
 
export default async function Layout({ children }) {
  const data = await api.getLayoutData()
  return <ShopLayout2 data={data}>{children}</ShopLayout2>
}

Inside Components

Used

Props

NameTypeRequiredDefault
dataObjectYes-
childrenReactNodeYes-