You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to use the component. When i am importing ToastController and using it, i am getting the below error
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
The text was updated successfully, but these errors were encountered:
Instead of <ToastController /> use <ToastContainer />. Also at that same file add import 'react-toastify/dist/ReactToastify.css'; Wasted a few hours trying to figure it out. Thank you README.md -.-
I am unable to use the component. When i am importing
ToastController
and using it, i am getting the below errorElement type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
The text was updated successfully, but these errors were encountered: