The type of the hook name, which extends string.
The type of the component, which defaults to ComponentType or ComponentRegistry.
The name of the hook to retrieve the component for.
Optional
defaultComponent: ComponentTypeThe default component to return if no component is found for the hook.
The component associated with the hook, or the default component if no component is found.
Retrieves a component from the Component Registry using a specified hook. If no component is found for the hook, a default component is returned.