feat(Toast): add overlayStyle option #7898

This commit is contained in:
chenjiahan
2021-01-14 21:13:04 +08:00
parent 3b007c9cfd
commit c553551578
6 changed files with 23 additions and 1 deletions

1
types/toast.d.ts vendored
View File

@@ -22,6 +22,7 @@ export type ToastOptions = {
loadingType?: ToastLoadingType;
forbidClick?: boolean;
closeOnClick?: boolean;
overlayStyle?: Record<string, any>;
closeOnClickOverlay?: boolean;
};