useStarredEntity()
Home > @backstage/plugin-catalog-react
> useStarredEntity
Signature:
function useStarredEntity(entityOrRef: Entity | CompoundEntityRef | string): {
toggleStarredEntity: () => void;
isStarredEntity: boolean;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
entityOrRef |
Entity | CompoundEntityRef | string |
{ toggleStarredEntity: () => void; isStarredEntity: boolean; }