Skip to content

Commit 403ef36

Browse files
committed
feat: init the sidebar of workbench
1 parent db03bc5 commit 403ef36

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/workbench/sidebar/index.tsx

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

src/workbench/sidebar/sidebar.scss

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@import '@/style/const.scss';
2+
3+
.#{$prefix}-sidebar {
4+
position: relative;
5+
left: 0;
6+
min-width: 246px;
7+
width: 100%;
8+
height: 100%;
9+
// TODO temp style, just for development
10+
background-color: rgb(37, 37, 38);
11+
outline-color: rgba(83, 89, 93, 0.5);
12+
}

0 commit comments

Comments
 (0)