Skip to content

Commit 7eaca25

Browse files
authored
[docs][Steppers] Replace TransitionProps with slotProps.transition (#46898)
1 parent b5b5149 commit 7eaca25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/material/components/steppers/steppers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The content of a step is unmounted when closed.
103103
If you need to make the content available to search engines or render expensive component trees inside your modal while optimizing for interaction responsiveness it might be a good idea to keep the step mounted with:
104104

105105
```jsx
106-
<StepContent TransitionProps={{ unmountOnExit: false }} />
106+
<StepContent slotProps={{ transition: { unmountOnExit: false } }} />
107107
```
108108

109109
## Mobile stepper

0 commit comments

Comments
 (0)