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/removal.tsx
Lauri Nevala 73cb86583a Refactor views management
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 15:25:49 +03:00

20 lines
421 B
TypeScript

import React from "react";
import { Cluster } from "../../../main/cluster";
import { RemoveClusterButton } from "./components/remove-cluster-button";
interface Props {
cluster: Cluster;
}
export class Removal extends React.Component<Props> {
render() {
const { cluster } = this.props;
return (
<div>
<h2>Removal</h2>
<RemoveClusterButton cluster={cluster} />
</div>
);
}
}