StarredEntitiesApi.toggleStarred()
Home > @backstage/plugin-catalog-react
> StarredEntitiesApi
> toggleStarred
Toggle the star state of the entity
Signature:
toggleStarred(entityRef: string): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
entityRef |
string |
an entity reference to toggle |
Promise<void>