1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+cluster-settings/cluster-settings.tsx
Sebastian Malton cdc56bb5dd convert the cluster settings view from Vue to React
- Add a basic file picker component
- Now stores the icons as base64 img src formatted data blobs
- Changed over cluster settings to mobx
- Removed old Vue files

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
2020-07-29 15:32:27 -04:00

26 lines
769 B
TypeScript

import "./cluster-settings.scss"
import React from "react";
import { observer } from "mobx-react";
import { Features } from "./features"
import { Removal } from "./removal"
import { Status } from "./status"
import { General } from "./general"
import { getHostedCluster } from "../../../common/cluster-store"
import { WizardLayout } from "../layout/wizard-layout";
@observer
export class ClusterSettings extends React.Component {
render() {
const cluster = getHostedCluster();
return (
<WizardLayout className="ClusterSettings">
<Status cluster={cluster}></Status>
<General cluster={cluster}></General>
<Features cluster={cluster}></Features>
<Removal cluster={cluster}></Removal>
</WizardLayout>
)
}
}