Im going to be honest, Ive been trying for hours and still cannot get this to work. I have it at the bottom of using the same exact code and the snackbar is not showing on the bottom. also tried setting its props to bottom center. nothing. is. working.
Hi Vishwas! I have a doubt with the "reason" parameter, I could not find information about it. Where does it come from? It is part of MUI API? It is a Javascript parameter? Where I can find out more about it? I've searched in the official docs and in google but it is just bits of information out there. What are the other reason besides "clickaway".
Hey! You can find it on the github repo. * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
Really great work... Hope to make tutorial on material UI with react router Dom mean navigation between pages
Ur all videos r very helpful plz complete and cover all topics of mui
Im going to be honest, Ive been trying for hours and still cannot get this to work. I have it at the bottom of using the same exact code and the snackbar is not showing on the bottom. also tried setting its props to bottom center. nothing. is. working.
Hi Vishwas!
I have a doubt with the "reason" parameter, I could not find information about it.
Where does it come from?
It is part of MUI API? It is a Javascript parameter?
Where I can find out more about it? I've searched in the official docs and in google but it is just bits of information out there.
What are the other reason besides "clickaway".
Hey! You can find it on the github repo.
* @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
@@Codevolution It is weird that there is no official documentation in the MUI web about this and it is kind of an important feature.
Thank you !
Anyone please help to call snackbar on api call success instead of clicking button...
Great video ! :)
🔥🔥🔥
The forwardRef component was completely unnecessary. And should not have an onClose prop.
can't believe all this code just for an alert 🥲