Closed gondar00 closed 2 years ago
Hi, I would like to know if I can use toast.promise(...) and also position it programmatically ?
toast.promise(...)
Yes. You can pass position to the toast options (third argument):
toast.promise(myPromise, { loading: "Loading", success: "Done", error: "Error", }, { position: "bottom-center" })
Hi, I would like to know if I can use
toast.promise(...)
and also position it programmatically ?