[breaking change] Popup: add lockScroll instead of lockOnScroll & preventScroll (#688)

This commit is contained in:
neverland
2018-03-14 11:07:48 +08:00
committed by GitHub
parent 7d3768591f
commit d36dd61bc9
12 changed files with 33 additions and 61 deletions

2
types/dialog.d.ts vendored
View File

@@ -2,7 +2,7 @@ export type DialogOptions = {
title?: string;
message?: string;
overlay?: boolean;
lockOnScroll?: boolean;
lockScroll?: boolean;
confirmButtonText?: string;
cancelButtonText?: string;
showConfirmButton?: boolean;