useComponentRef()
Home > @backstage/frontend-plugin-api
> useComponentRef
Returns the component associated with the given ref.
Signature:
function useComponentRef<T extends {}>(ref: ComponentRef<T>): ComponentType<T>;
Parameters
Parameter |
Type |
Description |
---|---|---|
ref |
ComponentRef<T> |
ComponentType<T>