getSubComponent
open fun <T : Component?> getSubComponent(component: Component.Builder, componentClass: Class<T>): Component
Deprecated
Returns the first subComponent of type class.
Return
The first instance of subComponent of type Class or null if none is present.
Deprecated
Use ComponentAssert#extractingSubComponents() instead.
Parameters
component
The component builder which to get the subcomponent from
componentClass
the class type of the requested sub component