# snt-navbar

# Component Pages

# Props

# src

  • Type: String
  • Default: undefined

ชื่อเมนูหน้า Home

  • Type: Object
  • Default: { label: 'Home' }

ชื่อเมนูหน้าสินค้า

  • Type: Object
  • Default: { label: 'Products' }

# items

เมนูอื่นๆ

  • Type:
  Array<{ 
    label: string, 
    href: string, 
    target: string 
  }>
  • Default: []

# align

ค่าที่รองรับ: left | center | right

  • Type: String
  • Default: left

# fixed

  • Type: Boolean
  • Default: false

# elevation

  • Type: Number | String
  • Default: 3

# Slots

# default

{
  logo: string,
  menuHome: { label: string },
  menuProducts: { label: string },
  extendLinks: Array<{ 
    label: string, 
    href: string, 
    target: string 
  }>,
  logout: () => void,
  props: {
    align: string
  }
}