From ab8fa54f8b20f510b660a387de422e4eefb45ab4 Mon Sep 17 00:00:00 2001 From: Herrick Fang Date: Tue, 5 Dec 2023 13:37:23 -0800 Subject: [PATCH] Fix svg warnings --- example/App.tsx | 6 +++--- src/BurntModule.web.tsx | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/App.tsx b/example/App.tsx index f6ae5da..055f83f 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -224,9 +224,9 @@ const WebIcon = () => { viewBox='0 0 24 24' fill='none' stroke='currentColor' - stroke-width='2' - stroke-linecap='round' - stroke-linejoin='round' + strokeWidth='2' + strokeLinecap='round' + strokeLinejoin='round' > diff --git a/src/BurntModule.web.tsx b/src/BurntModule.web.tsx index 5204301..c0391f4 100644 --- a/src/BurntModule.web.tsx +++ b/src/BurntModule.web.tsx @@ -69,9 +69,9 @@ const DoneIcon = () => ( viewBox='0 0 24 24' fill='none' stroke='currentColor' - stroke-width='2' - stroke-linecap='round' - stroke-linejoin='round' + strokeWidth='2' + strokeLinecap='round' + strokeLinejoin='round' className='lucide lucide-check' data-burnt-icon='check' > @@ -82,7 +82,7 @@ const DoneIcon = () => ( stroke-dashoffset: -50; animation: burnt-draw-checkmark 400ms linear forwards; } - + @keyframes burnt-draw-checkmark { 100% { stroke-dashoffset: 0; @@ -103,9 +103,9 @@ const XIcon = () => { viewBox='0 0 24 24' fill='none' stroke='currentColor' - stroke-width='2' - stroke-linecap='round' - stroke-linejoin='round' + strokeWidth='2' + strokeLinecap='round' + strokeLinejoin='round' className='lucide lucide-x' data-burnt-icon='x' >