Replies: 1 comment
-
Hey @vedantroy, yes it's possible both with the controlled toast or if you already know the time you want to display the notification. import {Icons, toast } from "react-toastify"
//10sec
const taskDuration = 10000
toast("Doing something...", {
icon: Icons.spinner,
autoClose: taskDuration
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to use
toast.loading
while also having the bar at the bottom that shows how much time is left in the toast?Beta Was this translation helpful? Give feedback.
All reactions