mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
18 lines
656 B
TypeScript
18 lines
656 B
TypeScript
import { getInjectable } from "@ogre-tools/injectable";
|
|
import { computed } from "mobx";
|
|
import { clusterFrameChildComponentInjectionToken } from "../frames/cluster-frame/cluster-frame-child-component-injection-token";
|
|
import { ClusterModals } from "./cluster-modals";
|
|
|
|
const clusterModalsClusterFrameChildComponentInjectable = getInjectable({
|
|
id: "cluster-modals-cluster-frame-child-component",
|
|
|
|
instantiate: () => ({
|
|
id: "cluster-modals",
|
|
shouldRender: computed(() => true),
|
|
Component: ClusterModals,
|
|
}),
|
|
|
|
injectionToken: clusterFrameChildComponentInjectionToken,
|
|
});
|
|
|
|
export default clusterModalsClusterFrameChildComponentInjectable; |