From a8801e58f353829ceb6bbcefd605cd67f240f991 Mon Sep 17 00:00:00 2001 From: icarus Date: Mon, 5 Jan 2026 21:20:42 +0800 Subject: [PATCH] fix: Fix SVG attribute names to use camelCase for React --- .../ui/src/components/primitives/sonner.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/ui/src/components/primitives/sonner.tsx b/packages/ui/src/components/primitives/sonner.tsx index 0879f5d38a..eb4c556c00 100644 --- a/packages/ui/src/components/primitives/sonner.tsx +++ b/packages/ui/src/components/primitives/sonner.tsx @@ -29,8 +29,8 @@ const InfoIcon = ({ className }: SVGProps) => ( width="29.0476" height="30" filterUnits="userSpaceOnUse" - color-interpolation-filters="sRGB"> - + colorInterpolationFilters="sRGB"> + ) => ( x2="14.5239" y2="39.5" gradientUnits="userSpaceOnUse"> - - + + @@ -227,7 +227,7 @@ const SuccessIcon = ({ className, ...props }: SVGProps) => { const ErrorIcon = ({ className }: SVGProps) => ( - +
) => ( width="30" height="28.8169" filterUnits="userSpaceOnUse" - color-interpolation-filters="sRGB"> - + colorInterpolationFilters="sRGB"> + ) => ( - - + +