fkhadra / fkhadra/react-toastify

Bug: Error in The Playground Toast Container transition property.

Open
#1,130 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

**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}`

2) Second way a much simpler way

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.