wisski-cloud-distillery/internal/dis/component/control/static/custom/custom.go
2023-01-11 14:34:04 +01:00

21 lines
454 B
Go

package custom
import (
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
"github.com/FAU-CDI/wisski-distillery/pkg/lazy"
)
// Custom implements theme and page customization.
type Custom struct {
component.Base
Dependencies struct {
Routeables []component.Routeable
Menuable []component.Menuable
}
menu lazy.Lazy[[]component.MenuItem]
}
var (
_ component.Backupable = (*Custom)(nil)
_ component.Menuable = (*Custom)(nil)
)