Skip to content

Commit

Permalink
Add entry in migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed Jun 13, 2024
1 parent 551207c commit f7c1b6d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1633,3 +1633,13 @@ The SpeedDial's `TransitionProps` prop was deprecated in favor of `slotProps.tra
+ slotProps={{ transition: { unmountOnExit: true } }}
/>
```

## useMediaQuery

### Removed types

The following deprecated types were removed:

- `MuiMediaQueryList`: use `MediaQueryList` (from lib.dom.d.ts) instead.
- `MuiMediaQueryListEvent`: use `MediaQueryListEvent` (from lib.dom.d.ts) instead.
- `MuiMediaQueryListListener`: use `(event: MediaQueryListEvent) => void` instead.

0 comments on commit f7c1b6d

Please sign in to comment.