-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[material-ui] v6 does not export GridProps
and GridMapType
#43686
Comments
GridProps
and GridMapType
GridProps
and GridMapType
Looking at the
|
Digging deeper, I see that there are a common set of named types |
GridProps
and GridMapType
GridProps
and GridMapType
Thanks for the report, @heath-freenome; I opened a PR to fix this: #43717. As you mentioned, there's an overlap in the -"@mui/material": "latest",
+"@mui/material": "https://pkg.csb.dev/mui/material-ui/commit/a140ce99/@mui/material", Please let me know, and thanks for the investigation 😊 |
Thanks for the quick turn around. Yes it fixes the problem! |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note We value your feedback @heath-freenome! How was your experience with our support team? |
Steps to reproduce
Steps:
GridProps
orGridMapType
from@mui/material
tsc
Current behavior
I'm attempting to upgrade to MUI v6 and my code is currently using
GridProps
andGridMapType
. When I upgraded and ran type checking I see the following:Expected behavior
I expect that the types provided for
Grid
are still exported from@mui/material
since is has only been deprecated.Context
No response
Your environment
npx @mui/envinfo
System:
OS: macOS 14.5
Binaries:
Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
pnpm: 9.0.6 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 128.0.6613.120
Edge: Not Found
Safari: 17.5
npmPackages:
@emotion/react: 11.13.3 => 11.13.3
@emotion/styled: 11.13.0 => 11.13.0
@mui/core-downloads-tracker: 6.0.2
@mui/icons-material: 6.0.2 => 6.0.2
@mui/material: 6.0.2 => 6.0.2
@mui/private-theming: 6.0.2
@mui/styled-engine: 6.0.2
@mui/system: 6.0.2 => 6.0.2
@mui/types: 7.2.16
@mui/utils: 6.0.2 => 6.0.2
@mui/x-date-pickers: 7.16.0 => 7.16.0
@mui/x-internals: 7.16.0
@types/react: 18.3.5 => 18.3.5
react: 18.3.1 => 18.3.1
react-dom: 18.3.1 => 18.3.1
typescript: 5.6.2 => 5.6.2
Search keywords: GridProps
The text was updated successfully, but these errors were encountered: