react-toastify
react-toastify copied to clipboard
Code Error in Toast container in transition property
Error in Code
Currently on your webpage https://fkhadra.github.io/react-toastify/introduction/ it is showing transition: Bounce, instead of showing transition = "Bounce".
It should show transition= "Bounce"
I am using Chrome with latest React version.
I am attaching a screenshot as a proof .
So, please correct it .
i also show u the code which show error in my project.
Pretty sure it needs to be a ToastTransition | undefined Type, so it should be:
transition={Bounce}
and be sure to import the transition:
import { ToastContainer, Bounce } from 'react-toastify';
** This is also mentioned in #1091