18 lines
338 B
Go
18 lines
338 B
Go
package objects
|
|
|
|
import "git.tebibyte.media/tomo/tomo"
|
|
|
|
// Separator is a line for visually separating elements.
|
|
type Separator struct {
|
|
tomo.Box
|
|
}
|
|
|
|
// NewSeparator creates a new separator line.
|
|
func NewSeparator () *Separator {
|
|
this := &Separator {
|
|
Box: tomo.NewBox(),
|
|
}
|
|
this.SetRole(tomo.R("objects", "Separator"))
|
|
return this
|
|
}
|