From 55a704b008a96afc7a6fbefe8c4a8cff5b0d2f3d Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 1 Nov 2024 15:35:23 +0100 Subject: [PATCH] Update button icon css class --- src/components/ButtonIcon/ButtonIcon.tsx | 4 ++-- src/components/ButtonIcon/buttonIcon.css | 10 +++++----- src/components/Dropdown/Dropdown.tsx | 3 +-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/ButtonIcon/ButtonIcon.tsx b/src/components/ButtonIcon/ButtonIcon.tsx index 0a8b08f..a2a687e 100644 --- a/src/components/ButtonIcon/ButtonIcon.tsx +++ b/src/components/ButtonIcon/ButtonIcon.tsx @@ -42,7 +42,7 @@ export function ButtonIcon({ const [animationClassName, setAnimationClassName] = useState(""); const onInternalClick = () => { - setAnimationClassName("buttonIcon--" + animation); + setAnimationClassName("button-icon--" + animation); onClick?.(); }; @@ -50,7 +50,7 @@ export function ButtonIcon({ return (