diff --git a/src/dialog/Dialog.js b/src/dialog/Dialog.js index 18058a819..19b9e694e 100644 --- a/src/dialog/Dialog.js +++ b/src/dialog/Dialog.js @@ -12,11 +12,8 @@ export default createComponent({ props: { title: String, + theme: String, width: [Number, String], - theme: { - type: String, - default: 'default', - }, message: String, className: null, callback: Function, @@ -108,14 +105,15 @@ export default createComponent({ genRoundButtons() { return ( - + {this.showCancelButton && ( { this.handleAction('cancel'); }} @@ -125,9 +123,10 @@ export default createComponent({ { this.handleAction('confirm'); }} @@ -141,7 +140,7 @@ export default createComponent({ const multiple = this.showCancelButton && this.showConfirmButton; return ( -
+
{this.showCancelButton && (