types(DropdownMenu): use tsx (#8167)

This commit is contained in:
neverland
2021-02-16 13:20:05 +08:00
committed by GitHub
parent 6c89575946
commit 8568c02e0b
3 changed files with 67 additions and 20 deletions

View File

@@ -10,12 +10,15 @@ declare module 'vue' {
// see: https://github.com/vuejs/vue-next/issues/1553
// https://github.com/vuejs/vue-next/issues/3029
onBlur?: EventHandler;
onOpen?: EventHandler;
onEdit?: EventHandler;
onClose?: EventHandler;
onFocus?: EventHandler;
onInput?: EventHandler;
onClick?: EventHandler;
onPress?: EventHandler;
onCancel?: EventHandler;
onOpened?: EventHandler;
onClosed?: EventHandler;
onChange?: EventHandler;
onSubmit?: EventHandler;