fix(components): [menu] expose updateActiveIndex type (#21129)

feat(components): [Menu] expose updateActiveIndex type
This commit is contained in:
Zhong
2025-06-25 15:11:53 +08:00
committed by GitHub
parent 49e1d594fa
commit 514cf66fce

View File

@@ -7,6 +7,7 @@ export type MenuInstance = InstanceType<typeof Menu> & {
open: (index: string) => void
close: (index: string) => void
handleResize: () => void
updateActiveIndex: (index: string) => void
}
export type MenuItemInstance = InstanceType<typeof MenuItem> & unknown