Skip to content

Commit 6f3dbf3

Browse files
committed
feat: init the editor of workbench
1 parent 97eccfe commit 6f3dbf3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/workbench/editor/editor.scss

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@import '@/style/const.scss';
2+
3+
.#{$prefix}-editor {
4+
position: absolute;
5+
width: 100%;
6+
height: 100%;
7+
// TODO temp style, just for development
8+
background-color: #1e1e1e;
9+
}

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

0 commit comments

Comments
 (0)