Преглед изворни кода

MessageBox: add missing declaration (#11861)

Jikkai Xiao пре 7 година
родитељ
комит
899d70da93
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      types/message-box.d.ts

+ 3 - 0
types/message-box.d.ts

@@ -73,6 +73,9 @@ export interface ElMessageBoxOptions {
   /** Whether to show a confirm button */
   showConfirmButton?: boolean
 
+  /** Whether to show a close button */
+  showClose?: boolean
+
   /** Text content of cancel button */
   cancelButtonText?: string