mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
aa4a565911
commit
3673edfe61
@ -26,6 +26,11 @@ import { BaseRegistry } from "./base-registry";
|
||||
|
||||
interface StatusBarComponents {
|
||||
Item?: React.ComponentType;
|
||||
/**
|
||||
* The side of the bottom bar to place this component.
|
||||
*
|
||||
* @default "right"
|
||||
*/
|
||||
position?: "left" | "right";
|
||||
}
|
||||
|
||||
|
||||
@ -59,8 +59,8 @@ export class BottomBar extends React.Component {
|
||||
return (
|
||||
<div
|
||||
className={cssNames(styles.item, {
|
||||
[styles.onLeft]: registration.components?.position == "left",
|
||||
[styles.onRight]: registration.components?.position != "left",
|
||||
[styles.onLeft]: registration.components.position == "left",
|
||||
[styles.onRight]: registration.components.position != "left",
|
||||
})}
|
||||
key={index}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user