mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
chore: function components support named exports (#8314)
This commit is contained in:
@@ -127,3 +127,5 @@ Dialog.install = (app: App) => {
|
||||
Dialog.Component = withInstall<typeof VanDialog>(VanDialog);
|
||||
|
||||
export default Dialog;
|
||||
export { Dialog };
|
||||
export type { DialogTheme, DialogMessageAlign };
|
||||
|
@@ -104,3 +104,4 @@ ImagePreview.install = (app: App) => {
|
||||
};
|
||||
|
||||
export default ImagePreview;
|
||||
export { ImagePreview };
|
||||
|
@@ -104,3 +104,4 @@ Notify.install = (app: App) => {
|
||||
Notify.Component = withInstall<typeof VanNotify>(VanNotify);
|
||||
|
||||
export default Notify;
|
||||
export { Notify };
|
||||
|
@@ -184,3 +184,5 @@ Toast.install = (app: App) => {
|
||||
};
|
||||
|
||||
export default Toast;
|
||||
export { Toast };
|
||||
export type { ToastType, ToastPosition };
|
||||
|
Reference in New Issue
Block a user