Skip to content

Commit

Permalink
[docs] Fix typo in transition docs (#28312)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamboliasir1 authored Sep 14, 2021
1 parent 8173909 commit b6715ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/customization/transitions/TransitionHover.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const customTheme = createTheme({
},
});

const Styledvatar = styled(Avatar)`
const StyledAvatar = styled(Avatar)`
${({ theme }) => `
cursor: pointer;
background-color: ${theme.palette.primary.main};
Expand All @@ -35,7 +35,7 @@ export default function TransitionHover() {
<NoSsr>
<MuiThemeProvider theme={customTheme}>
<ThemeProvider theme={customTheme}>
<Styledvatar>OP</Styledvatar>
<StyledAvatar>OP</StyledAvatar>
</ThemeProvider>
</MuiThemeProvider>
</NoSsr>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/customization/transitions/TransitionHover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const customTheme = createTheme({
},
});

const Styledvatar = styled(Avatar)`
const StyledAvatar = styled(Avatar)`
${({ theme }) => `
cursor: pointer;
background-color: ${theme.palette.primary.main};
Expand All @@ -35,7 +35,7 @@ export default function TransitionHover() {
<NoSsr>
<MuiThemeProvider theme={customTheme}>
<ThemeProvider theme={customTheme}>
<Styledvatar>OP</Styledvatar>
<StyledAvatar>OP</StyledAvatar>
</ThemeProvider>
</MuiThemeProvider>
</NoSsr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<NoSsr>
<MuiThemeProvider theme={customTheme}>
<ThemeProvider theme={customTheme}>
<Styledvatar>OP</Styledvatar>
<StyledAvatar>OP</StyledAvatar>
</ThemeProvider>
</MuiThemeProvider>
</NoSsr>

0 comments on commit b6715ec

Please sign in to comment.