Skip to content

Commit 35d8332

Browse files
authored
docs(readme): fix typo in readme (#22)
1 parent 00fc15c commit 35d8332

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)