Skip to content

Commit 1855313

Browse files
committed
fixed the linting issue
1 parent 4d6741f commit 1855313

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

playground/components/SplitWrapper.tsx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ interface SplitWrapperProps {
77

88
// react-split should be replaced with a React 18 friendly library or CSS
99
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>
3131
);
3232

3333
export default SplitWrapper;

0 commit comments

Comments
 (0)