mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add draft how to render a react component in contract of injection token
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
1 parent
c025b1a7c2
commit
aab72a9bf8
3 files changed
+10
-7
No files matched your search
@@ -7,6 +7,7 @@ import { getInjectionToken } from "@ogre-tools/injectable";
|
||||
export type ClusterOverviewUIBlock = {
|
||||
id: string;
|
||||
text: string;
|
||||
Component: React.ElementType
|
||||
};
|
||||
|
||||
export const clusterOverviewUIBlockInjectionToken = getInjectionToken<ClusterOverviewUIBlock>({
|
||||
|
||||
Reference in new issue
Block a user