-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MenuSelect prop types to support MUI v5.15.11 types
As of mui/material-ui#39137, MUI's `SelectProps` is now a `type` and not an `interface`, so we can no longer `extend` it for our own `MenuSelectProps`. As such, we now make `MenuSelectProps` a `type` and use `&` syntax to inject additional props. This should support both MUI < v5.15.11 (where `SelectProps` is an `interface`) and >= 5.15.11 (where `SelectProps` is a `type`).
- Loading branch information
1 parent
f016a62
commit 7ba1ba9
Showing
4 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters