diff --git a/src/toast.tsx b/src/toast.tsx index 982d65e..4d0a9ca 100644 --- a/src/toast.tsx +++ b/src/toast.tsx @@ -303,10 +303,10 @@ export const Toast = React.forwardRef( className={cn(className, classNamesCtx?.toast, classNames?.toast)} style={[ unstyled ? undefined : elevationStyle, + defaultStyles.toast, toastStyleCtx, styles?.toast, style, - defaultStyles.toast, wiggleAnimationStyle, ]} entering={entering} diff --git a/src/toaster.tsx b/src/toaster.tsx index 8b6ca0b..fbad21a 100644 --- a/src/toaster.tsx +++ b/src/toaster.tsx @@ -177,7 +177,7 @@ export const ToasterUI: React.FC = ({ } }, []); - const { style, className, unstyled } = toastOptions; + const { unstyled } = toastOptions; const value = React.useMemo( () => ({ @@ -270,7 +270,7 @@ export const ToasterUI: React.FC = ({ return ( - + {positionedNonDynamicToasts.map((positionedToast) => { return ( = ({ })}