docs: use Remix icon in plugin override example

Update the architecture plugins doc to match page IconElement usage.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Patrik Oldsberg
2026-05-19 11:22:05 +02:00
parent 177a1c1af6
commit e1b0499b7d
@@ -130,7 +130,7 @@ A plugin might not always behave exactly the way you want. It could be that you
```tsx
import plugin from '@backstage/plugin-catalog';
import { PageBlueprint } from '@backstage/frontend-plugin-api';
import CustomCatalogIcon from '@material-ui/icons/Category';
import { RiLayoutGridLine } from '@remixicon/react';
export default plugin.withOverrides({
// These overrides are merged with the original extensions
@@ -139,7 +139,7 @@ export default plugin.withOverrides({
plugin.getExtension('page:catalog').override({
factory: origFactory =>
origFactory({
icon: <CustomCatalogIcon fontSize="inherit" />,
icon: <RiLayoutGridLine />,
loader: () =>
import('./CustomCatalogIndexPage').then(m => <m.Page />),
}),