UNPKG

@backstage/plugin-home-react

Version:

A Backstage plugin that contains react components helps you build a home page

20 lines (17 loc) 647 B
import { createExtensionBlueprint, ExtensionBoundary } from '@backstage/frontend-plugin-api'; import { homePageLayoutComponentDataRef } from '../dataRefs.esm.js'; const HomePageLayoutBlueprint = createExtensionBlueprint({ kind: "home-page-layout", attachTo: { id: "page:home", input: "layout" }, output: [homePageLayoutComponentDataRef], dataRefs: { component: homePageLayoutComponentDataRef }, *factory({ loader }, { node }) { yield homePageLayoutComponentDataRef( ExtensionBoundary.lazyComponent(node, loader) ); } }); export { HomePageLayoutBlueprint }; //# sourceMappingURL=HomePageLayoutBlueprint.esm.js.map