mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup Lens repo with tighter linting
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
1 parent
e468105143
commit
b1ff34879a
470 files changed
+8447
-7443
No files matched your search
@@ -1 +1 @@
|
||||
export * from "./no-items"
|
||||
export * from "./no-items";
|
||||
@@ -1,15 +1,15 @@
|
||||
import "./no-items.scss"
|
||||
import "./no-items.scss";
|
||||
|
||||
import * as React from "react";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import { cssNames, IClassName } from "../../utils";
|
||||
import { cssNames, ClassName } from "../../utils";
|
||||
|
||||
interface Props {
|
||||
className?: IClassName;
|
||||
className?: ClassName;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export function NoItems(props: Props) {
|
||||
export function NoItems(props: Props): JSX.Element {
|
||||
const { className, children } = props;
|
||||
return (
|
||||
<div className={cssNames("NoItems flex box grow", className)}>
|
||||
@@ -17,5 +17,5 @@ export function NoItems(props: Props) {
|
||||
{children || <Trans>Item list is empty</Trans>}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user