Skip to content

Commit cf3ec7c

Browse files
authored
Apply suggestions from code review
Signed-off-by: Diego Andai <[email protected]>
1 parent b567e79 commit cf3ec7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ The Accordion's `TransitionProps` was deprecated in favor of `slotProps.transiti
5454

5555
### light
5656

57-
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)):
57+
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)):
5858

5959
```diff
6060
<Divider
61-
- light
62-
+ sx={{ opacity : "0.6" }}
61+
- light
62+
+ sx={{ opacity : "0.6" }}
6363
/>
6464
```

packages/mui-codemod/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ npx @mui/codemod@latest deprecations/accordion-props <path>
9595

9696
```diff
9797
<Divider
98-
- light
99-
+ sx={{opacity: "0.6"}}
98+
- light
99+
+ sx={{opacity: "0.6"}}
100100
/>
101101
```
102102

0 commit comments

Comments
 (0)