1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/technical-features/react-application-root/src/react-application/react-application-wrapper-injection-token.ts
Janne Savolainen de3fc32706
Introduce competition for starting react application inside the Feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-03-31 08:39:30 +03:00

9 lines
342 B
TypeScript

import { getInjectionToken } from "@ogre-tools/injectable";
import type React from "react";
export type ReactApplicationWrapper = (Component: React.ComponentType) => React.ComponentType;
export const reactApplicationWrapperInjectionToken = getInjectionToken<ReactApplicationWrapper>({
id: "react-application-wrapper-injection-token",
});