Closed AuroraAndersson closed 4 years ago
Can you create a minimal reproduction? From what I can see, the class name is being appended to the created Toast. Reference: https://codesandbox.io/s/toastify-classname-option-ucfrn
Toastify({ text: "This is a toast", className: "error" }).showToast(); This code is not any different from default.
Reference: https://codesandbox.io/s/toastify-classname-option-ucfrn
@LimeZky I've updated this Sandbox demo to show a visual difference. I think this would make things clear for you.
I think this issue has been solved at some point, cause I've seen that demo and it's working well.
Should we close this?
Closing this as it's fixed now.
When I set classname:error,it didn't have any diffent.