table component

This commit is contained in:
Sas Andy
2024-05-06 15:23:34 +07:00
parent 728c4ccf7a
commit e157e2fe43
14 changed files with 411 additions and 263 deletions

15
models/table.models.go Normal file
View File

@@ -0,0 +1,15 @@
package models
type TableHead struct {
Name string `json:"name"`
Width string `json:"width"`
}
func GetTableHead() []TableHead {
a := []TableHead{
{Name: "Kode", Width: "30%"},
{Name: "User Group", Width: "40%"},
{Name: "Aksi", Width: "30%"},
}
return a
}