Segment(classes: Set<String> = setOf(), init: (Segment.() -> Unit)? = null)
Creates a segment component.
classes - a set of CSS class names
classes
init - an initializer extension function
init
Constructor Creates a segment component.