-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[AppBar] Convert to support CSS extraction #41247
Conversation
mnajdova
commented
Feb 23, 2024
•
edited by siriwatknp
Loading
edited by siriwatknp
- I have followed (at least) the PR section of the contributing guide.
Netlify deploy previewhttps://deploy-preview-41247--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
@@ -2,12 +2,14 @@ import path from 'path'; | |||
import fse from 'fs-extra'; | |||
import * as prettier from 'prettier'; | |||
|
|||
function capitalize(string) { | |||
function pascalCase(string) { |
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.
react-app-bar
was throwing, it resulted in App-bar()
which is not a valid function name, I've converted to using pascal case.
@@ -16,7 +16,7 @@ interface Props { | |||
* You won't need it on your project. | |||
*/ | |||
window?: () => Window; | |||
children: React.ReactElement; | |||
children?: React.ReactElement; |
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.
Converted the demos to not require children.
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
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.
👍 Awesome, this is a tough one!
@siriwatknp I noticed bug while updating the branch, would be great if you can validate 1da33c9 |
Looks good to me. |