Layouts
Shop Layout 1

Shop Layout 1

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

Examples

Many different ShopLayout1 usage in this templates

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

Inside Components

Used

Props

NameTypeRequiredDefault
dataObjectYes-
childrenReactNodeYes-