fix: dropdown menu log warning, close #5127
parent
81ab68f696
commit
3e8959ad22
|
@ -61,7 +61,7 @@ export const menuProps = {
|
||||||
onOpenChange: Function as PropType<(keys: Key[]) => void>,
|
onOpenChange: Function as PropType<(keys: Key[]) => void>,
|
||||||
onSelect: Function as PropType<SelectEventHandler>,
|
onSelect: Function as PropType<SelectEventHandler>,
|
||||||
onDeselect: Function as PropType<SelectEventHandler>,
|
onDeselect: Function as PropType<SelectEventHandler>,
|
||||||
onClick: Function as PropType<MenuClickEventHandler>,
|
onClick: [Function, Array] as PropType<MenuClickEventHandler>,
|
||||||
onFocus: Function as PropType<FocusEventHandler>,
|
onFocus: Function as PropType<FocusEventHandler>,
|
||||||
onBlur: Function as PropType<FocusEventHandler>,
|
onBlur: Function as PropType<FocusEventHandler>,
|
||||||
'onUpdate:openKeys': Function as PropType<(keys: Key[]) => void>,
|
'onUpdate:openKeys': Function as PropType<(keys: Key[]) => void>,
|
||||||
|
|
Loading…
Reference in New Issue