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 {
77
88// react-split should be replaced with a React 18 friendly library or CSS
99const 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 >
3131) ;
3232
3333export default SplitWrapper ;
You can’t perform that action at this time.
0 commit comments