@JvmOverloads fun derive(qualifier: Any = this.qualifier, block: ComponentBuilderBlock): Component
Create an extended copy of this component.
qualifier
- A qualifier for the new derived component (default: qualifier).
block
- A builder block that is called in the context of a Builder.
Return
A new Component that contains all provider of the base component plus the one
defined in the builder block.