Divider
Divider component display a horizontal line.
API
func Divider(c *tgframe.Container, conf ...*DividerConf)
cis Parent container.confis an optional configuration, at most one.
// DividerConf is the configuration for the Divider component.
type DividerConf struct {
tgframe.Base // ID
}
Example
tgcomp.Divider(p.Main)
