Skip to content

Commit

Permalink
feat: init the panel of workbench
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Sep 16, 2020
1 parent eafad2e commit 97eccfe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/workbench/panel/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 './panel.scss';

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

export default Panel;
8 changes: 8 additions & 0 deletions src/workbench/panel/panel.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import '@/style/const.scss';

.#{$prefix}-panel {
position: absolute;

// TODO just for development, this attribute should be controlled by themeService
border-top-color: rgb(65, 67, 57);
}

0 comments on commit 97eccfe

Please sign in to comment.