chore: function components support named exports (#8314)

This commit is contained in:
neverland
2021-03-09 11:18:58 +08:00
committed by GitHub
parent 7571c904ec
commit 5d5ff1da4a
4 changed files with 6 additions and 0 deletions
+2
View File
@@ -127,3 +127,5 @@ Dialog.install = (app: App) => {
Dialog.Component = withInstall<typeof VanDialog>(VanDialog);
export default Dialog;
export { Dialog };
export type { DialogTheme, DialogMessageAlign };