We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the custom icons property got some problems, where the class name for loading does not match the css which breaks the loading effect on toast.promise
icons
loading
toast.promise
example:
import { toast, Toaster } from "sonner"; // Component <Toaster icons={{ loading: <MyLoadingIcon /> }} /> // Calling toast.promise function toast.promise(myPromise, { loading: "Loading", success: "Login Successfully", error: "Login Fail", });
Here is the quick fix of it honeypaw@189ce92
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature / bug 📝:
the custom
icons
property got some problems, where the class name forloading
does not match the csswhich breaks the
loading
effect ontoast.promise
example:
Here is the quick fix of it
honeypaw@189ce92
The text was updated successfully, but these errors were encountered: