1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+cluster/cluster-no-metrics.tsx
Jari Kolehmainen e717d82f17 remove lingui
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 08:55:45 +02:00

18 lines
524 B
TypeScript

import React from "react";
import { Icon } from "../icon";
import { cssNames } from "../../utils";
interface Props {
className: string;
}
export function ClusterNoMetrics({ className }: Props) {
return (
<div className={cssNames("ClusterNoMetrics flex column box grow justify-center align-center", className)}>
<Icon material="info"/>
<p>Metrics are not available due to missing or invalid Prometheus configuration.</p>
<p>Right click cluster icon to open cluster settings.</p>
</div>
);
}