forked from goffee/core
component list
This commit is contained in:
parent
458ad520ca
commit
bf84e14bb1
2 changed files with 33 additions and 0 deletions
19
template/components/content_list.go
Normal file
19
template/components/content_list.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package components
|
||||
|
||||
type ContentList struct {
|
||||
Items []ContentListItem
|
||||
}
|
||||
|
||||
type ContentListItem struct {
|
||||
Text string
|
||||
Description string
|
||||
EndElement string
|
||||
//Link string
|
||||
TypeClass string // primary, secondary, success, danger, warning, info, light, dark
|
||||
IsDisabled bool
|
||||
//IsActive bool
|
||||
}
|
||||
|
||||
//link
|
||||
//border
|
||||
// badge
|
||||
Loading…
Add table
Add a link
Reference in a new issue