derive

fun derive(qualifier: Qualifier = this.qualifier, block: ComponentBuilderBlock): Component(source)

Create an extended copy of this component.

Return

A new Component that contains all provider of the base component plus the one defined in the builder block.

Parameters

qualifier

A qualifier for the new derived component (default: qualifier).

block

A builder block that is called in the context of a Builder.