-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[docs] Add Next.js App Router guide for custom classnames #45852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Add Next.js App Router guide for custom classnames #45852
Conversation
Netlify deploy previewBundle size report |
@@ -124,16 +124,36 @@ Always create an initializer file to hoist the `ClassNameGenerator` call to the | |||
|
|||
```js | |||
// create a new file called `MuiClassNameSetup.js` at the root or src folder. | |||
'use client'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed in non-RSC frameworks, but I'm not sure if adding a comment about it is worth it.
docs/data/material/experimental-api/classname-generator/classname-generator.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tentatively approving so it won't be a blocker once the comments are resolved! 👍
docs/data/material/experimental-api/classname-generator/classname-generator.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Aarón García Hervás <[email protected]> Co-authored-by: mapache-salvaje <[email protected]> Signed-off-by: Siriwat K <[email protected]>
closes #45128