From 199bd8c3e5a50d3ab53f18764fbf64b0b4fec9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 31 Mar 2025 22:33:50 +0800 Subject: [PATCH] =?UTF-8?q?ActionIcon=E4=B8=AD=E7=9A=84ref=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=94=B9=E4=B8=BA=E5=8F=AF=E9=80=89=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ActionIcon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ActionIcon.tsx b/src/components/ActionIcon.tsx index 60566a8..c7169e9 100644 --- a/src/components/ActionIcon.tsx +++ b/src/components/ActionIcon.tsx @@ -7,7 +7,7 @@ type ActionIconProps = { icon: IconProps['icon']; onClick?: MouseEventHandler; extendClassName?: HTMLButtonElement['className']; - ref: RefObject; + ref?: RefObject; }; export function ActionIcon({ icon, onClick, extendClassName, ref }: ActionIconProps) {