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

Bug: Error in The Playground Toast Container transition property. #1130

Open
ayushbansal111 opened this issue Jun 30, 2024 · 0 comments
Open

Comments

@ayushbansal111
Copy link

ayushbansal111 commented Jun 30, 2024

Do you want to request a feature or report a bug?

I would like to report a bug in The Playground Toast Container.


Screenshot 2024-06-30 at 6 04 31 PM


What is the current behavior?

-Current Code Snippet throws error.

The issue can be resolved in 2 ways:

  1. Firstly we must import a library

import { Bounce } from 'react-toastify';

and replace transition: Bounce, with transition={Bounce}

  1. Second way a much simpler way

just replace transition: Bounce, with transition="Bounce" on need to import any library.

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