Skip to content
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

example in the browser for using "transition" in the ToastContainer Next Js parameter does not work there #1135

Open
Hypes-Astro opened this issue Jul 12, 2024 · 0 comments

Comments

@Hypes-Astro
Copy link

usebracket

You can't bounce straight away, for beginners maybe just "bounce" straight away. whereas curly braces {}, indicating that the transition value is a JavaScript expression.

solution:
"ToastContainer =
position="bottom-right"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
rtl={false}
pauseOnFocusLoss
draggable
pauseOnHover
theme="light"
transition={Flip} -------- don't immediately bounce/flip etc without {}
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant