Skip to content

Commit 97eccfe

Browse files
committed
feat: init the panel of workbench
1 parent eafad2e commit 97eccfe

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/workbench/panel/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 './panel.scss';
6+
7+
export const Panel: React.FunctionComponent = function() {
8+
return (
9+
<div className={prefixClaName('panel')}>
10+
Panel
11+
</div>
12+
);
13+
};
14+
15+
export default Panel;

src/workbench/panel/panel.scss

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@import '@/style/const.scss';
2+
3+
.#{$prefix}-panel {
4+
position: absolute;
5+
6+
// TODO just for development, this attribute should be controlled by themeService
7+
border-top-color: rgb(65, 67, 57);
8+
}

0 commit comments

Comments
 (0)