Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-12-03 06:14:51 +03:00
1 parent aa4a565911
commit 3673edfe61
2 files changed
+7 -2

No files matched your search

@@ -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}
>