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

[Grid] Rename justify prop to justifyContent #21845

Merged
merged 9 commits into from
Jul 21, 2020

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Jul 19, 2020

Breaking change

Rename justify prop with justifyContent to be aligned with the CSS property name.

-<Grid justify="center">
+<Grid justifyContent="center">

It should also help reduce the API gap with the props of the <Box />.

@mnajdova mnajdova added the component: Grid The React component. label Jul 19, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Jul 19, 2020

Details of bundle changes

Generated by 🚫 dangerJS against cdc8ff6

Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@eps1lon eps1lon added this to the v5 milestone Jul 20, 2020
@mnajdova
Copy link
Member Author

mnajdova commented Jul 20, 2020

@oliviertassinari how can I see more logs from the test failiars? I cannot repro locally 😕

@oliviertassinari
Copy link
Member

@mnajdova Do you have enough right to rerun the builds? Seemed to be enough.

@mnajdova mnajdova merged commit 8807cc6 into mui:next Jul 21, 2020
@oliviertassinari

This comment has been minimized.

@eps1lon eps1lon mentioned this pull request Aug 5, 2020
42 tasks
@davidpham87
Copy link

This breaking change need not to happen: you could equally support justify and justifyContent and keep old code working.

@mbrookes
Copy link
Member

mbrookes commented Sep 23, 2020

@davidpham87 That will be done as a deprecation in v4.

oliviertassinari pushed a commit to oliviertassinari/material-ui that referenced this pull request Dec 20, 2020
oliviertassinari pushed a commit to oliviertassinari/material-ui that referenced this pull request Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants