Skip to content

Commit 2fcd5a2

Browse files
committed
fix indentation
1 parent 514a4e6 commit 2fcd5a2

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,12 +1693,12 @@ All of the Tooltip's slot (`*Component`) props were deprecated in favor of equiv
16931693

16941694
```diff
16951695
<Tooltip
1696-
- PopperComponent={CustomPopperComponent}
1697-
- TransitionComponent={CustomTransitionComponent}
1698-
+ slots={{
1699-
+ popper: CustomPopperComponent,
1700-
+ transition: CustomTransitionComponent,
1701-
+ }}
1696+
- PopperComponent={CustomPopperComponent}
1697+
- TransitionComponent={CustomTransitionComponent}
1698+
+ slots={{
1699+
+ popper: CustomPopperComponent,
1700+
+ transition: CustomTransitionComponent,
1701+
+ }}
17021702
/>
17031703
```
17041704

@@ -1708,12 +1708,12 @@ All of the Tooltip's slot props (`*Props`) props were deprecated in favor of equ
17081708

17091709
```diff
17101710
<Tooltip
1711-
- PopperProps={CustomPopperProps}
1712-
- TransitionProps={CustomTransitionProps}
1713-
+ slotProps={{
1714-
+ popper: CustomPopperProps,
1715-
+ transition: CustomTransitionProps,
1716-
+ }}
1711+
- PopperProps={CustomPopperProps}
1712+
- TransitionProps={CustomTransitionProps}
1713+
+ slotProps={{
1714+
+ popper: CustomPopperProps,
1715+
+ transition: CustomTransitionProps,
1716+
+ }}
17171717
/>
17181718
```
17191719

packages/mui-codemod/src/deprecations/tooltip-props/test-cases/actual.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Tooltip from '@mui/material/Tooltip';
2-
import {Tooltip as MyTooltip} from '@mui/material';
2+
import { Tooltip as MyTooltip } from '@mui/material';
33

44
<Tooltip
55
components={{

packages/mui-codemod/src/deprecations/tooltip-props/test-cases/expected.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Tooltip from '@mui/material/Tooltip';
2-
import {Tooltip as MyTooltip} from '@mui/material';
2+
import { Tooltip as MyTooltip } from '@mui/material';
33

44
<Tooltip
55
slots={{

0 commit comments

Comments
 (0)