We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ab68f commit 3e8959aCopy full SHA for 3e8959a
components/menu/src/Menu.tsx
@@ -61,7 +61,7 @@ export const menuProps = {
61
onOpenChange: Function as PropType<(keys: Key[]) => void>,
62
onSelect: Function as PropType<SelectEventHandler>,
63
onDeselect: Function as PropType<SelectEventHandler>,
64
- onClick: Function as PropType<MenuClickEventHandler>,
+ onClick: [Function, Array] as PropType<MenuClickEventHandler>,
65
onFocus: Function as PropType<FocusEventHandler>,
66
onBlur: Function as PropType<FocusEventHandler>,
67
'onUpdate:openKeys': Function as PropType<(keys: Key[]) => void>,
0 commit comments