Skip to content

Commit

Permalink
docs(readme): fix typo in readme (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
YEK-PLUS authored Feb 15, 2024
1 parent 00fc15c commit 35d8332
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ const App = () => {
heading: ({ children, level }) => {
switch (level) {
case 1:
return <Typography variant="h1">{children}</h1>
return <Typography variant="h1">{children}</Typography>
case 2:
return <Typography variant="h2">{children}</h2>
return <Typography variant="h2">{children}</Typography>
case 3:
return <Typography variant="h3">{children}</h3>
return <Typography variant="h3">{children}</Typography>
case 4:
return <Typography variant="h4">{children}</h4>
return <Typography variant="h4">{children}</Typography>
case 5:
return <Typography variant="h5">{children}</h5>
return <Typography variant="h5">{children}</Typography>
case 6:
return <Typography variant="h6">{children}</h6>
return <Typography variant="h6">{children}</Typography>
default:
return <Typography variant="h1">{children}</h1>
return <Typography variant="h1">{children}</Typography>
}
},
// For links, you may want to use the component from your router or framework
Expand Down

0 comments on commit 35d8332

Please sign in to comment.