Add a new ComponentMapping to this state. The mapping is a utility class that is used to
map a component type to the provider that provides the component.
@param type The type of component to be mapped
@return The component mapping to use when setting the provider for the component
Add a new ComponentMapping to this state. The mapping is a utility class that is used to map a component type to the provider that provides the component.
@param type The type of component to be mapped @return The component mapping to use when setting the provider for the component