Skip to main content

FavoriteEntity()

Home > @backstage/plugin-catalog-react > FavoriteEntity

IconButton for showing if a current entity is starred and adding/removing it from the favorite entities

Signature:

FavoriteEntity: (props: FavoriteEntityProps) => React.JSX.Element

Parameters

Parameter

Type

Description

props

FavoriteEntityProps

MaterialUI IconButton props extended by required entity prop

**Returns:**

React.JSX.Element