Divider

Divider component display a horizontal line.

API

func Divider(c *tgframe.Container, conf ...*DividerConf)
  • c is Parent container.
  • conf is 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)

divider component