create

abstract infix fun create(consumer: ComponentBuilder.() -> Unit): ComponentBuilder

Creates a new component builder scope with the given consumer.

Return

this component builder for chaining

Parameters

consumer

the consumer lambda that operates on a component builder