Update docs/frontend-system/building-plugins/06-swappable-components.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-04-21 16:29:15 +02:00
committed by GitHub
parent ffb749e4b6
commit 8c8199cdf9
@@ -20,7 +20,7 @@ import { createSwappableComponent } from '@backstage/frontend-plugin-api';
export const ExampleSwappableComponent = createSwappableComponent({
name: 'example',
// This is a loader for loading the default implementation of the component when there's no overridden
// This is a loader for loading the default implementation of the component when there's no overriding
// implementation created with `SwappableComponentBlueprint`.
// It can be sync like below, but it can also be async like `loader: () => import('./DefaultImplementation').then(m => m.DefaultImplementation)`.
loader: () => (props: { name: string }) =>