File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -7,27 +7,27 @@ interface SplitWrapperProps {
7
7
8
8
// react-split should be replaced with a React 18 friendly library or CSS
9
9
const SplitWrapper = ( props : SplitWrapperProps ) => (
10
- < Split
11
- style = { {
12
- width : '100%' ,
13
- height : 'calc(100vh - 50px)' ,
14
- minHeight : 'calc(100vh - 50px)' ,
15
- display : 'flex' ,
16
- background : '#f3f4f5' ,
17
- } }
18
- gutter = { ( ) => {
19
- const gutter = document . createElement ( 'div' ) ;
20
- gutter . onmouseover = ( ) => ( gutter . style . cursor = 'ew-resize' ) ;
21
- return gutter ;
22
- } }
23
- gutterStyle = { ( ) => ( {
24
- backgroundColor : 'gray' ,
25
- width : '7px' ,
26
- } ) }
27
- minSize = { 250 }
28
- >
29
- { props . children }
30
- </ Split >
10
+ < Split
11
+ style = { {
12
+ width : '100%' ,
13
+ height : 'calc(100vh - 50px)' ,
14
+ minHeight : 'calc(100vh - 50px)' ,
15
+ display : 'flex' ,
16
+ background : '#f3f4f5' ,
17
+ } }
18
+ gutter = { ( ) => {
19
+ const gutter = document . createElement ( 'div' ) ;
20
+ gutter . onmouseover = ( ) => ( gutter . style . cursor = 'ew-resize' ) ;
21
+ return gutter ;
22
+ } }
23
+ gutterStyle = { ( ) => ( {
24
+ backgroundColor : 'gray' ,
25
+ width : '7px' ,
26
+ } ) }
27
+ minSize = { 250 }
28
+ >
29
+ { props . children }
30
+ </ Split >
31
31
) ;
32
32
33
33
export default SplitWrapper ;
You can’t perform that action at this time.
0 commit comments