types(Popup): use tsx (#8110)

* types(Popup): use tsx

* types: add PopupCloseIconPosition
This commit is contained in:
neverland
2021-02-09 19:41:34 +08:00
committed by GitHub
parent 85da57e583
commit b50cd43921
2 changed files with 25 additions and 20 deletions

3
src/vue-shim.d.ts vendored
View File

@@ -6,6 +6,9 @@ import 'vue';
// https://github.com/vuejs/vue-next/issues/3029
declare module 'vue' {
interface ComponentCustomProps {
role?: string;
tabindex?: number;
onClick?: (event: MouseEvent) => void;
onClosed?: () => void;
}
}