-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
The easiest way to use react-toastify with Tailwind CSS #1103
Comments
I am also encountering an issue with tailwind and this, although likely not the same. The root element is not getting anything rendered, and this occurs as soon as I import |
@cph101 I ended up doing this:
Also I copied the Note that if you're going to copy the |
This is the only Tailwind CSS example I could find:
https://fkhadra.github.io/react-toastify/how-to-style/#css-classes-as-function
I tried adding tailwind utility classes to
ToastContainer
className
but if I for example addw-40
it gets overridden but the react-toastify CSS.I also tried this:
and this is also getting overridden.
Can some please explain what the absolute easiest way to use react-toastify with TailwindCSS is?
The text was updated successfully, but these errors were encountered: