[Improvement] add type definition files (#361)

This commit is contained in:
neverland
2017-11-29 18:00:08 +08:00
committed by GitHub
parent c8915d3984
commit 121e2de375
12 changed files with 153 additions and 4 deletions

View File

@@ -7,8 +7,11 @@ const defaultConfig = {
value: true,
title: '',
message: '',
overlay: true,
lockOnScroll: true,
confirmButtonText: '',
cancelButtonText: '',
showConfirmButton: true,
showCancelButton: false,
closeOnClickOverlay: false,
callback: action => {