Add command bar component
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
div.command-bar {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { BackgroundLevel, Theme } from "@Component/Theme/Theme";
|
||||
import { Component, ReactNode } from "react";
|
||||
|
||||
interface ICommandBarProps {
|
||||
width: number;
|
||||
}
|
||||
|
||||
class CommandBar extends Component<ICommandBarProps> {
|
||||
|
||||
render(): ReactNode {
|
||||
return <Theme
|
||||
className="command-bar"
|
||||
backgroundLevel={BackgroundLevel.Level2}
|
||||
style={{ width: this.props.width }}
|
||||
>
|
||||
</Theme>
|
||||
}
|
||||
}
|
||||
|
||||
export { CommandBar };
|
||||
Reference in New Issue
Block a user