1
0
Fork 0
forked from goffee/core

detail table

This commit is contained in:
Zeni Kim 2024-10-27 12:54:34 -05:00
parent cf8b3bdde7
commit 59ea47dcd6
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package components
type ContentTabledetail struct {
ID string
TableClass string // table-primary, table-secondary,.. table-striped table-bordered
HeadClass string // table-dark table-light
Title string
AllTD []ContentTabledetailTD
}
type ContentTabledetailTD struct {
ID string
Caption string
ValueType string // -> default string, href, badge
Value interface{} // string or component struct according ValueType
}