mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user