Divider

Divider component display a horizontal line.

API

func Divider(c *tgframe.Container)
func DividerWithID(c *tgframe.Container, id string)
  • c is Parent container.
  • id is a user specific element id.

Example

tgcomp.Divider(p.Main)

divider component