Rename PageLayout to SettingLayout (#3123)

* rename PageLayout to SettingLayout

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* expose to extensions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2021-06-21 10:50:40 +03:00
1 parent adf1251bbd
commit 48e278c71b
8 files changed
+138 -110

No files matched your search

@@ -38,8 +38,8 @@ import { navigate } from "../../navigation";
import { iter } from "../../utils";
import { AceEditor } from "../ace-editor";
import { Button } from "../button";
import { PageLayout } from "../layout/page-layout";
import { Notifications } from "../notifications";
import { SettingLayout } from "../layout/setting-layout";
interface Option {
config: KubeConfig;
@@ -108,7 +108,7 @@ export class AddCluster extends React.Component {
render() {
return (
<PageLayout className="AddClusters" showOnTop={true}>
<SettingLayout className="AddClusters">
<h2>Add Clusters from Kubeconfig</h2>
<p>
Clusters added here are <b>not</b> merged into the <code>~/.kube/config</code> file.
@@ -144,7 +144,7 @@ export class AddCluster extends React.Component {
tooltipOverrideDisabled
/>
</div>
</PageLayout>
</SettingLayout>
);
}
}