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:
parent
b098df62e1
commit
415cadaa66
@ -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
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user