Skip to content

RegistryComponent.getChild method

RegistryComponent › getChild

Get the single child of the given type.

Signature:

getChild(componentClass: Constructor<TComponent>): TComponent

Parameters:

ParameterTypeDescription
componentClassConstructor<TComponent>The class of the component to get.

Returns: TComponentThe single registered child of the given type.