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
@@ -184,3 +184,5 @@ Toast.install = (app: App) => {
};
export default Toast;
export { Toast };
export type { ToastType, ToastPosition };