File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,13 @@ class CodePreview extends Component<Props> {
26
26
} }
27
27
>
28
28
< SyntaxHighlighter style = { hybrid } >
29
- { format ( componentRender ( focusComponent , components ) ) }
29
+ { format ( componentRender ( focusComponent , components ) , {
30
+ singleQuote : true ,
31
+ trailingComma : 'es5' ,
32
+ bracketSpacing : true ,
33
+ jsxBracketSameLine : true ,
34
+ parser : 'typescript'
35
+ } ) }
30
36
</ SyntaxHighlighter >
31
37
</ div >
32
38
) ;
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ const SimpleModal = (props: any) => {
70
70
>
71
71
< CloseIcon />
72
72
</ IconButton >
73
- < Typography variant = "title " id = "modal-title" >
73
+ < Typography variant = "h6 " id = "modal-title" >
74
74
{ message }
75
75
</ Typography >
76
76
< div > { children } </ div >
You can’t perform that action at this time.
0 commit comments