From 0517c3f43076b131fa3d4f23772442686ca1c4c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Dombya?= <135591453+hervedombya@users.noreply.github.com> Date: Thu, 19 Sep 2024 10:51:33 +0200 Subject: [PATCH] Refactor onClick prop in Icon component --- src/lib/components/icon/Icon.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/icon/Icon.component.tsx b/src/lib/components/icon/Icon.component.tsx index d771ceae84..d20923847c 100644 --- a/src/lib/components/icon/Icon.component.tsx +++ b/src/lib/components/icon/Icon.component.tsx @@ -204,7 +204,7 @@ type Props = { ariaLabel?: string; withWrapper?: boolean; style?: CSSProperties; - onClick?: () => void; + onClick?: (event: MouseEvent) => void; }; const DelayedFallback = ({