[Improvement] Button: add text prop (#563)

This commit is contained in:
neverland
2018-01-23 11:41:37 +08:00
committed by GitHub
parent cb7b333942
commit 041cc1e614
4 changed files with 6 additions and 6 deletions

View File

@@ -50,14 +50,11 @@ export default create({
callback: Function,
confirmButtonText: String,
cancelButtonText: String,
showCancelButton: Boolean,
showConfirmButton: {
type: Boolean,
default: true
},
showCancelButton: {
type: Boolean,
default: false
},
overlay: {
type: Boolean,
default: true