From 514cf66fced0d2cbd588356524207aadbf5f4d32 Mon Sep 17 00:00:00 2001 From: Zhong Date: Wed, 25 Jun 2025 15:11:53 +0800 Subject: [PATCH] fix(components): [menu] expose updateActiveIndex type (#21129) feat(components): [Menu] expose updateActiveIndex type --- packages/components/menu/src/instance.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/menu/src/instance.ts b/packages/components/menu/src/instance.ts index 473f51bb85..568aa58f30 100644 --- a/packages/components/menu/src/instance.ts +++ b/packages/components/menu/src/instance.ts @@ -7,6 +7,7 @@ export type MenuInstance = InstanceType & { open: (index: string) => void close: (index: string) => void handleResize: () => void + updateActiveIndex: (index: string) => void } export type MenuItemInstance = InstanceType & unknown