forked from goffee/core
dropdown, href is content
This commit is contained in:
parent
a904773bab
commit
f398ebb02d
5 changed files with 20 additions and 20 deletions
15
template/components/content_dropdown.go
Normal file
15
template/components/content_dropdown.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package components
|
||||
|
||||
type ContentDropdown struct {
|
||||
Label string
|
||||
TypeClass string // type primary, secondary, success, danger, warning, info, light, dark, link, outline-primary
|
||||
IsDisabled bool
|
||||
Items []ContentDropdownItem
|
||||
}
|
||||
|
||||
type ContentDropdownItem struct {
|
||||
Text string
|
||||
Link string
|
||||
IsDisabled bool
|
||||
IsActive bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue