File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,19 +77,19 @@ const App = () => {
7777 heading : ({ children, level }) => {
7878 switch (level) {
7979 case 1 :
80- return < Typography variant= " h1" > {children}< / h1 >
80+ return < Typography variant= " h1" > {children}< / Typography >
8181 case 2 :
82- return < Typography variant= " h2" > {children}< / h2 >
82+ return < Typography variant= " h2" > {children}< / Typography >
8383 case 3 :
84- return < Typography variant= " h3" > {children}< / h3 >
84+ return < Typography variant= " h3" > {children}< / Typography >
8585 case 4 :
86- return < Typography variant= " h4" > {children}< / h4 >
86+ return < Typography variant= " h4" > {children}< / Typography >
8787 case 5 :
88- return < Typography variant= " h5" > {children}< / h5 >
88+ return < Typography variant= " h5" > {children}< / Typography >
8989 case 6 :
90- return < Typography variant= " h6" > {children}< / h6 >
90+ return < Typography variant= " h6" > {children}< / Typography >
9191 default :
92- return < Typography variant= " h1" > {children}< / h1 >
92+ return < Typography variant= " h1" > {children}< / Typography >
9393 }
9494 },
9595 // 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