Skip to content

Commit

Permalink
feat: init the editor of workbench
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Sep 16, 2020
1 parent 97eccfe commit 6f3dbf3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/workbench/editor/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import '@/style/const.scss';

.#{$prefix}-editor {
position: absolute;
width: 100%;
height: 100%;
// TODO temp style, just for development
background-color: #1e1e1e;
}
15 changes: 15 additions & 0 deletions src/workbench/editor/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import * as React from 'react';

import { prefixClaName } from '@/common/className';

import './editor.scss';

export const Editor: React.FunctionComponent = function() {
return (
<div className={prefixClaName('editor')}>
Editor
</div>
);
};

export default Editor;

0 comments on commit 6f3dbf3

Please sign in to comment.