-
-
Notifications
You must be signed in to change notification settings - Fork 691
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
Syntax Error or a Bug in documentation #1091
Comments
I believe is should be:
transition needs a ToastTransition | undefined |
I agree, it's a bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
What is the current behavior
In the website https://fkhadra.github.io/react-toastify/introduction/ The "Toast Container" has a bug.
in the
<ToastContainer/>
there is a attributetransition
where:
semicolon is added instead of=
equal too sign.When we assign value to attributes we need to insert
=
sign instead of:
semicolons as in JSON.And the value
Bounce
must also be enclosed in the quotes or double quotes.If user will copy from this documentation then he'll face errors.
expected behaviour
User should not face error.
We need to updated it in the documentation to:
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
This issue is applicable to all versions of react and next.js
The text was updated successfully, but these errors were encountered: