Polishing Kubernetes section view in Preferences (#3603)

* Using RemovableItem for items in Kubernetes page

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Helm Charts empty state

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Empty state for kubeconfig sync list

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove unused styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-08-16 16:52:14 +03:00
1 parent e979cbf7c7
commit fa58b94cd5
13 files changed
+156 -125

No files matched your search

@@ -21,12 +21,15 @@
import styles from "./notice.module.css";
import React, { DOMAttributes } from "react";
import { cssNames } from "../../utils";
interface Props extends DOMAttributes<any> {}
interface Props extends DOMAttributes<any> {
className?: string;
}
export function Notice(props: Props) {
return (
<div className={styles.notice}>
<div className={cssNames(styles.notice, props.className)}>
{props.children}
</div>
);