16 lines
278 B
Go
16 lines
278 B
Go
package components
|
|
|
|
type PageNav struct {
|
|
NavClass string // nav-pills, nav-underline
|
|
NavItems []PageNavItem
|
|
IsVertical bool
|
|
IsTab bool
|
|
}
|
|
|
|
type PageNavItem struct {
|
|
Text string
|
|
Link string
|
|
IsDisabled bool
|
|
IsActive bool
|
|
ChildItems []PageNavItem
|
|
}
|