mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Creating tableComponentInjectable in open-lens
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
c48b88eed0
commit
60c439198b
2 files changed
+12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { tableComponentInjectionToken } from "@k8slens/table";
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import { Table } from "@k8slens/core/renderer";
|
||||
|
||||
const tableComponentInjectable = getInjectable({
|
||||
id: "table-component",
|
||||
instantiate: () => ({ Component: Table }),
|
||||
injectionToken: tableComponentInjectionToken,
|
||||
});
|
||||
|
||||
export default tableComponentInjectable
|
||||
Reference in new issue
Block a user