mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [menu] expose updateActiveIndex type (#21129)
feat(components): [Menu] expose updateActiveIndex type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user