Skip to content

Commit

Permalink
link rational, in case we don't rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 17, 2020
1 parent ffe8b65 commit 2a473d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/pages/guides/migration-v4/migration-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ const classes = makeStyles(theme => ({
```

[This codemod](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-codemod#box-sx-prop) will automatically update your code to the new syntax.
You can [read this section](/system/basics/#api-tradeoff) for the why behind the change of API.

- The `borderRadius` system prop value transformation has been changed. If it receives a number, it multiplies this value with the `theme.shape.borderRadius` value. Use a string to provide an explicit value, in `px`.

Expand Down

0 comments on commit 2a473d1

Please sign in to comment.