Skip to content

Commit

Permalink
[docs] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 15, 2023
1 parent a18006a commit 0c60034
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.old.md
Original file line number Diff line number Diff line change
Expand Up @@ -13577,7 +13577,7 @@ _May 24, 2015_
that you are trying to override, [submit an issue](https://github.com/mui/material-ui/issues/new)
requesting to have it added.
- _If you are using any of Material UI's Less files:_ These files have been
refactored into their [own javascript files](https://github.com/mui/material-ui/tree/css-in-js/src/styles)
refactored into their [own JavaScript files](https://github.com/mui/material-ui/tree/css-in-js/src/styles)
and can be accessed like so `var FILENAME = require('material-ui').Styles.FILENAME;`.
Material UI has moved away from being a CSS Framework to being simply a
set of React components.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ By default, Material UI generates a global class name for each component slot. F
</button>
```

To customize all the class names generated by Material UI components, create a separate javascript file to use the `ClassNameGenerator` API.
To customize all the class names generated by Material UI components, create a separate JavaScript file to use the `ClassNameGenerator` API.

```js
// create a new file called `MuiClassNameSetup.js` at the root or src folder.
Expand Down Expand Up @@ -132,7 +132,7 @@ ClassNameGenerator.configure(
);
```

Then import the file in the main javascript source based on the framework.
Then import the file in the main JavaScript source based on the framework.

### Next.js

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ createTheme({
MuiButton: {
styleOverrides: {
root: ({ theme }) => ({
// use javascript conditional expression
// use JavaScript conditional expression
color: theme.palette.mode === 'dark' ? '#fff' : theme.palette.primary.main,
}),
},
Expand Down

0 comments on commit 0c60034

Please sign in to comment.