Open joewinger opened 1 month ago
This example code:
<Toaster toastOptions={{ unstyled: true, classNames: { loader: 'bg-red-500' }, }} />
Doesn't yield any results.
Here's the ToastClassnames interface from src/types.ts:
src/types.ts
export interface ToastClassnames { toast?: string; title?: string; description?: string; loader?: string; // <-- Defined right here closeButton?: string; cancelButton?: string; actionButton?: string; success?: string; error?: string; info?: string; warning?: string; loading?: string; default?: string; content?: string; icon?: string; }
After digging through the code, it looks like neither getLoadingIcon() nor the default Loader element reference this loader class option.
Hi, Is this fix going to be merged anytime soon ?
Describe the feature / bug 📝:
This example code:
Doesn't yield any results.
Here's the ToastClassnames interface from
src/types.ts
:After digging through the code, it looks like neither getLoadingIcon() nor the default Loader element reference this loader class option.