Layouts
Sale Layout

Sale Layout

💡
Folder location: src/components/layouts/sales-layout

Examples

import SaleLayout from 'components/layouts/sales-layout'
 
// Example 1 - /sales-1
export default function Layout() {
  return <SaleLayout>{children}</SaleLayout>
}
 
// Example 2 - /sales-2
export default function Layout() {
  return (
    <SaleLayout type="two" categoryNav={categoryNav}>
      {children}
    </SaleLayout>
  )
}

Inside Components

Used

Props

NameTypeRequiredDefault
childrenReactNodeYes-
type(one / two)Optionalone