1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove exports of NonInjected components

- To improve auto-complete

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-22 11:17:37 -05:00
parent b098df62e1
commit 415cadaa66
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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

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) => (

View File

@ -24,7 +24,7 @@ interface Dependencies {
watchHistoryState: () => () => void; watchHistoryState: () => () => void;
} }
export const NonInjectedClusterFrame = observer(({ const NonInjectedClusterFrame = observer(({
namespaceStore, namespaceStore,
subscribeStores, subscribeStores,
childComponents, childComponents,