File tree 1 file changed +9
-7
lines changed
examples/nextjs/src/providers
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,17 @@ const ToastClientProvider = (props: ToasterProperties) => {
14
14
const { theme } = useTheme ( ) ;
15
15
return (
16
16
< Toaster
17
- toastFont = "font-sans"
18
17
maxToasts = { 10 }
19
18
theme = { theme as ToastTheme }
20
- toastIcons = { {
21
- info : < InfoIcon className = "text-blue-500" /> ,
22
- error : < CircleX className = "text-red-500" /> ,
23
- warning : < CircleAlert className = "text-yellow-500" /> ,
24
- success : < CircleCheck className = "text-green-500" /> ,
25
- loading : < LoaderIcon className = "animate-spin text-gray-500" /> ,
19
+ toastOptions = { {
20
+ font : 'font-sans' ,
21
+ icons : {
22
+ info : < InfoIcon className = "text-blue-500" /> ,
23
+ error : < CircleX className = "text-red-500" /> ,
24
+ warning : < CircleAlert className = "text-yellow-500" /> ,
25
+ success : < CircleCheck className = "text-green-500" /> ,
26
+ loading : < LoaderIcon className = "animate-spin text-gray-500" /> ,
27
+ } ,
26
28
} }
27
29
{ ...props }
28
30
/>
You can’t perform that action at this time.
0 commit comments