Closed GilliganL closed 11 months ago
@GilliganL The export for the ButtonGroupContext
in @mui/material/ButtonGroup
was introduced in version 5.15.0
. Check if you have the latest version of @mui/material
and then try again.
@lhilgert9 That did it, sorry about that!
Duplicates
Latest version
Steps to reproduce 🕹
Steps: Import and use LoadingButton
ERROR in ./node_modules/@mui/lab/LoadingButton/LoadingButton.js 116:40-58 export 'ButtonGroupContext' (imported as 'ButtonGroupContext') was not found in '@mui/material/ButtonGroup' (possible exports: buttonGroupClasses, default, getButtonGroupUtilityClass)
Version 5.0.0-alpha.155 does not have this error.
Current behavior 😯
This error pops up when version 5.0.0-alpha.156 is installed
ERROR in ./node_modules/@mui/lab/LoadingButton/LoadingButton.js 116:40-58 export 'ButtonGroupContext' (imported as 'ButtonGroupContext') was not found in '@mui/material/ButtonGroup' (possible exports: buttonGroupClasses, default, getButtonGroupUtilityClass)
Expected behavior 🤔
No error
Context 🔦
Use the LoadingButton component.
Your environment 🌎
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo