Skip to content

Commit db03bc5

Browse files
committed
feat: init the menu bar of workbench
1 parent 558843e commit db03bc5

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

src/workbench/menuBar/index.tsx

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import * as React from 'react';
2+
3+
import { prefixClaName } from '@/common/className';
4+
5+
import './menuBar.scss';
6+
7+
export const MenuBar: React.FunctionComponent = function() {
8+
return (
9+
<div className={prefixClaName('menuBar')}>
10+
MenuBar
11+
</div>
12+
);
13+
};
14+
15+
export default MenuBar;

src/workbench/menuBar/menuBar.scss

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@import '@/style/const.scss';
2+
3+
.#{$prefix}-menuBar {
4+
position: absolute;
5+
6+
.left {
7+
width: 48px;
8+
height: 35px;
9+
}
10+
}

0 commit comments

Comments
 (0)