File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ class CodePreview extends Component {
19
19
} }
20
20
>
21
21
< pre style = { { direction : 'ltr' } } >
22
- { format ( componentRender ( focusComponent , components ) ) }
22
+ { format ( componentRender ( focusComponent , components ) , {
23
+ singleQuote : true ,
24
+ trailingComma : 'es5' ,
25
+ bracketSpacing : true ,
26
+ jsxBracketSameLine : true ,
27
+ parser : 'typescript' ,
28
+ } ) }
23
29
</ pre >
24
30
</ div >
25
31
) ;
Original file line number Diff line number Diff line change 4
4
box-sizing : inherit;
5
5
}
6
6
7
- * {
7
+ /* * {
8
8
overflow: hidden;
9
9
overflow-y: hidden;
10
10
-ms-overflow-style: none;
11
11
scrollbar-width: none;
12
- }
12
+ } */
13
13
14
14
html {
15
15
box-sizing : border-box;
16
- overflow : hidden;
16
+ /* overflow: hidden; */
17
17
}
18
18
19
19
body {
20
20
margin : 0 ;
21
21
padding : 0 ;
22
- font-family : " Open sans" , sans-serif;
22
+ font-family : ' Open sans' , sans-serif;
23
23
font-weight : 400 ;
24
24
overflow : hidden;
25
25
}
You can’t perform that action at this time.
0 commit comments