mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0f3f5611ba
commit
1477bb8274
531 files changed
+3979
-3975
No files matched your search
@@ -13,17 +13,17 @@ export interface DrawerItemProps extends React.HTMLAttributes<any> {
|
||||
|
||||
export class DrawerItem extends React.Component<DrawerItemProps> {
|
||||
render() {
|
||||
const { name, title, labelsOnly, children, hidden, className, renderBoolean, ...elemProps } = this.props
|
||||
if (hidden) return null
|
||||
const { name, title, labelsOnly, children, hidden, className, renderBoolean, ...elemProps } = this.props;
|
||||
if (hidden) return null;
|
||||
|
||||
const classNames = cssNames("DrawerItem", className, { labelsOnly });
|
||||
const content = displayBooleans(renderBoolean, children)
|
||||
const content = displayBooleans(renderBoolean, children);
|
||||
|
||||
return (
|
||||
<div {...elemProps} className={classNames} title={title}>
|
||||
<span className="name">{name}</span>
|
||||
<span className="value">{content}</span>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user