mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Roman <ixrock@gmail.com> Co-authored-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <smalton@mirantis.com> Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com> Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
23 lines
724 B
TypeScript
23 lines
724 B
TypeScript
import "./bottom-bar.scss"
|
|
import React from "react";
|
|
import { observer } from "mobx-react";
|
|
import { Icon } from "../icon";
|
|
import { WorkspaceMenu } from "../+workspaces/workspace-menu";
|
|
import { workspaceStore } from "../../../common/workspace-store";
|
|
|
|
@observer
|
|
export class BottomBar extends React.Component {
|
|
render() {
|
|
const { currentWorkspace } = workspaceStore;
|
|
return (
|
|
<div className="BottomBar flex gaps">
|
|
<div id="current-workspace" className="flex gaps align-center box right">
|
|
<Icon small material="layers"/>
|
|
<span className="workspace-name">{currentWorkspace.name}</span>
|
|
</div>
|
|
<WorkspaceMenu htmlFor="current-workspace"/>
|
|
</div>
|
|
)
|
|
}
|
|
}
|