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,4 +1,4 @@
|
||||
import "./badge.scss"
|
||||
import "./badge.scss";
|
||||
|
||||
import * as React from "react";
|
||||
import { cssNames } from "../../utils/cssNames";
|
||||
@@ -11,7 +11,7 @@ interface Props extends React.HTMLAttributes<any>, TooltipDecoratorProps {
|
||||
|
||||
@withTooltip
|
||||
export class Badge extends React.Component<Props> {
|
||||
render() {
|
||||
render(): JSX.Element {
|
||||
const { className, label, small, children, ...elemProps } = this.props;
|
||||
return (
|
||||
<span className={cssNames("Badge", { small }, className)} {...elemProps}>
|
||||
|
||||
@@ -1 +1 @@
|
||||
export * from "./badge"
|
||||
export * from "./badge";
|
||||
Reference in new issue
Block a user