Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Andai <[email protected]>
  • Loading branch information
DiegoAndai authored Feb 7, 2024
1 parent b567e79 commit cf3ec7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ The Accordion's `TransitionProps` was deprecated in favor of `slotProps.transiti

### light

The Divider's `light` prop was deprecated, Use `sx={{ opacity : "0.6" }}` (or any opacity). ([Codemod](https://github.com/mui/material-ui/tree/master/packages/mui-codemod#divider-props)):
The Divider's `light` prop was deprecated, Use `sx={{ opacity : "0.6" }}` (or any opacity). ([Codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#divider-props)):

```diff
<Divider
- light
+ sx={{ opacity : "0.6" }}
- light
+ sx={{ opacity : "0.6" }}
/>
```
4 changes: 2 additions & 2 deletions packages/mui-codemod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ npx @mui/codemod@latest deprecations/accordion-props <path>

```diff
<Divider
- light
+ sx={{opacity: "0.6"}}
- light
+ sx={{opacity: "0.6"}}
/>
```

Expand Down

0 comments on commit cf3ec7c

Please sign in to comment.