fun Container.segment(classes: Set<String>? = null, className: String? = null, init: (Segment.() -> Unit)? = null): Segment
DSL builder extension function.
It takes the same parameters as the constructor of the built component.