core/template/components/page_nav.go

17 lines
263 B
Go
Raw Normal View History

package components
type PageNav struct {
NavClass string // nav-pills
NavItems []PageNavItem
IsVertical bool
IsTab bool
}
type PageNavItem struct {
Text string
Link string
IsDisabled bool
IsActive bool
ChildItems []PageNavItem
}