From a43521103a80117ccfce22ccd07e9bac6d30b840 Mon Sep 17 00:00:00 2001 From: Yannick Date: Wed, 19 Apr 2023 14:59:39 +0200 Subject: [PATCH] Allow customizing animation speed --- src/ValkyrieIcon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ValkyrieIcon.tsx b/src/ValkyrieIcon.tsx index 12ed6156..7541f392 100644 --- a/src/ValkyrieIcon.tsx +++ b/src/ValkyrieIcon.tsx @@ -49,7 +49,7 @@ export default function ValkyrieIcon({ }, spin && { svg: { - animation: `${spinAnimation} 2s infinite linear`, + animation: `${spinAnimation} var(--va-animation-duration, 2s) infinite linear`, }, }, flip && {