feat(Toast): add clickOnClickOverlay option (#4967)

This commit is contained in:
neverland
2019-11-09 15:50:10 +08:00
committed by GitHub
parent 05c2df8e6a
commit b055980fe0
4 changed files with 5 additions and 1 deletions

1
types/toast.d.ts vendored
View File

@@ -17,6 +17,7 @@ export type ToastOptions = {
loadingType?: string;
forbidClick?: boolean;
closeOnClick?: boolean;
closeOnClickOverlay?: boolean;
getContainer?: string | (() => Element);
};