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;
|
||||
}
|
||||
|
||||
export const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => {
|
||||
const NonInjectedUpdateButton = observer(({ warningLevel, update, id }: UpdateButtonProps & Dependencies) => {
|
||||
const buttonId = id ?? "update-lens-button";
|
||||
const menuIconProps: IconProps = { material: "update", small: true };
|
||||
const [opened, setOpened] = useState(false);
|
||||
|
||||
@ -29,7 +29,7 @@ interface Dependencies {
|
||||
openAddNamespaceDialog: () => void;
|
||||
}
|
||||
|
||||
export const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => (
|
||||
const NonInjectedNamespacesRoute = ({ namespaceStore, openAddNamespaceDialog }: Dependencies) => (
|
||||
<TabLayout>
|
||||
<KubeObjectListLayout
|
||||
isConfigurable
|
||||
|
||||
@ -22,7 +22,7 @@ interface Dependencies {
|
||||
entityRegistry: CatalogEntityRegistry;
|
||||
}
|
||||
|
||||
export const NonInjectedSidebar = observer(({
|
||||
const NonInjectedSidebar = observer(({
|
||||
sidebarItems,
|
||||
entityRegistry,
|
||||
}: Dependencies) => (
|
||||
|
||||
@ -24,7 +24,7 @@ interface Dependencies {
|
||||
watchHistoryState: () => () => void;
|
||||
}
|
||||
|
||||
export const NonInjectedClusterFrame = observer(({
|
||||
const NonInjectedClusterFrame = observer(({
|
||||
namespaceStore,
|
||||
subscribeStores,
|
||||
childComponents,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user