Переглянути джерело

Alert: update type definition (#15186)

hetech 6 роки тому
батько
коміт
52959d0630
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      types/alert.d.ts

+ 2 - 2
types/alert.d.ts

@@ -26,6 +26,6 @@ export declare class ElAlert extends ElementUIComponent {
   /** If a type icon is displayed */
   showIcon: boolean
 
-  /** Choose theme */
-  theme: AlertEffect
+  /** Choose effect */
+  effect: AlertEffect
 }