Remove exports of NonInjected components

- To improve auto-complete

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-01-05 13:27:56 -05:00
1 parent b098df62e1
commit 415cadaa66
4 files changed
+4 -4

No files matched your search

@@ -24,7 +24,7 @@ interface Dependencies {
update: () => void; update: () => void;
} }
export const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => { const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => {
const buttonId = id ?? "update-lens-button"; const buttonId = id ?? "update-lens-button";
const menuIconProps: IconProps = { material: "update", small: true }; const menuIconProps: IconProps = { material: "update", small: true };
const [opened, setOpened] = useState(false); const [opened, setOpened] = useState(false);
@@ -29,7 +29,7 @@ interface Dependencies {
openAddNamespaceDialog: () => void; openAddNamespaceDialog: () => void;
} }
export const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => ( const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => (
<TabLayout> <TabLayout>
<KubeObjectListLayout <KubeObjectListLayout
isConfigurable isConfigurable
+1 -1
View File
@@ -22,7 +22,7 @@ interface Dependencies {
entityRegistry: CatalogEntityRegistry; entityRegistry: CatalogEntityRegistry;
} }
export const NonInjectedSidebar = observer(({ const NonInjectedSidebar = observer(({
sidebarItems, sidebarItems,
entityRegistry, entityRegistry,
}: Dependencies) => ( }: Dependencies) => (
@@ -24,7 +24,7 @@ interface Dependencies {
watchHistoryState: () => () => void; watchHistoryState: () => () => void;
} }
export const NonInjectedClusterFrame = observer(({ const NonInjectedClusterFrame = observer(({
namespaceStore, namespaceStore,
subscribeStores, subscribeStores,
childComponents, childComponents,