As per the material UI documentation, /
you can
import LoadingButton from '@material-ui/lab/LoadingButton';
However, I don't see this folder anywhere in mui/lab and the import throws an error.
I ran yarn add @material-ui/lab
already.
I also have "@material-ui/core"
already.
Do I need to install something for 'next mui' as I see the documentation url is also different: /
While most of ponents I have been using are here: /
As per the material UI documentation, https://next.material-ui./ponents/buttons/
you can
import LoadingButton from '@material-ui/lab/LoadingButton';
However, I don't see this folder anywhere in mui/lab and the import throws an error.
I ran yarn add @material-ui/lab
already.
I also have "@material-ui/core"
already.
Do I need to install something for 'next mui' as I see the documentation url is also different: https://next.material-ui./
While most of ponents I have been using are here: https://material-ui./
Share Improve this question asked Apr 30, 2021 at 15:44 ABGRABGR 5,2654 gold badges33 silver badges55 bronze badges1 Answer
Reset to default 6According to getting-started/installation you need @next
to install uping version of core.
yarn add @material-ui/core@next
This also applies to @material-ui/lab