Skip to content
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

[Theme][material] Add missing styleOverrides type for theme MuiStack #38189

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

DiegoAndai
Copy link
Member

Closes: #38151

The styleOverrides MuiStack key type was missing from the overrides Components type: #28843 (comment)

@DiegoAndai DiegoAndai self-assigned this Jul 27, 2023
@DiegoAndai DiegoAndai added customization: theme Centered around the theming features typescript package: material-ui Specific to @mui/material component: Stack The React component. labels Jul 27, 2023
@mui-bot
Copy link

mui-bot commented Jul 27, 2023

Netlify deploy preview

https://deploy-preview-38189--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against c377055

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed implemented https://codesandbox.io/s/gallant-star-hv895x?file=/src/App.tsx. I left this feedback in #28843 (comment) 😁

@DiegoAndai
Copy link
Member Author

@oliviertassinari yes 😊, it was only missing the type so TS was throwing an error

This is the same codesandbox but using this PR's material build: https://codesandbox.io/s/romantic-dewdney-mgscff?file=/src/App.tsx.

@DiegoAndai DiegoAndai changed the title [Theme][material] Add missing styleOverrides for theme MuiStack [Theme][material] Add missing styleOverrides type for theme MuiStack Jul 27, 2023
@DiegoAndai DiegoAndai requested a review from mnajdova July 27, 2023 15:15
@DiegoAndai DiegoAndai merged commit 8f06a1e into mui:master Jul 27, 2023
21 of 22 checks passed
@DiegoAndai DiegoAndai deleted the muistack-styleoverrides-type branch July 27, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Stack The React component. customization: theme Centered around the theming features package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Stack][material] Stack missing styleOverrides in createTheme type
3 participants