File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -77,19 +77,19 @@ const App = () => {
77
77
heading : ({ children, level }) => {
78
78
switch (level) {
79
79
case 1 :
80
- return < Typography variant= " h1" > {children}< / h1 >
80
+ return < Typography variant= " h1" > {children}< / Typography >
81
81
case 2 :
82
- return < Typography variant= " h2" > {children}< / h2 >
82
+ return < Typography variant= " h2" > {children}< / Typography >
83
83
case 3 :
84
- return < Typography variant= " h3" > {children}< / h3 >
84
+ return < Typography variant= " h3" > {children}< / Typography >
85
85
case 4 :
86
- return < Typography variant= " h4" > {children}< / h4 >
86
+ return < Typography variant= " h4" > {children}< / Typography >
87
87
case 5 :
88
- return < Typography variant= " h5" > {children}< / h5 >
88
+ return < Typography variant= " h5" > {children}< / Typography >
89
89
case 6 :
90
- return < Typography variant= " h6" > {children}< / h6 >
90
+ return < Typography variant= " h6" > {children}< / Typography >
91
91
default :
92
- return < Typography variant= " h1" > {children}< / h1 >
92
+ return < Typography variant= " h1" > {children}< / Typography >
93
93
}
94
94
},
95
95
// For links, you may want to use the component from your router or framework
You can’t perform that action at this time.
0 commit comments