react-toastify icon indicating copy to clipboard operation
react-toastify copied to clipboard

Bug: Typo in playground ToastContainer transition prop

Open Topman-14 opened this issue 2 years ago • 2 comments

scrnli_2_9_2024_2-31-37 PM

I think the image is pretty self-explanatory, In the playground, the transition prop in the ToastContainer is written as an Object property, I'd like to fix it, if its okay with you.

Topman-14 avatar Feb 09 '24 13:02 Topman-14

Yeah, after I copied it in my application, I was a bit confused why I have there an error. It needs curly brackets to be accepted. This important statement worked for me in the App.tsx file: import {ToastContainer, Zoom} from "react-toastify";

Maybe someone else has the same problem

AleksandrMaj avatar Feb 19 '24 09:02 AleksandrMaj

The documentation will get a refresh soon thanks for reporting.

fkhadra avatar Nov 25 '24 20:11 fkhadra