We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4de2b4 commit 0b36f74Copy full SHA for 0b36f74
types/message.d.ts
@@ -1,4 +1,4 @@
1
-import Vue from 'vue'
+import Vue, {VNode} from 'vue'
2
3
export type MessageType = 'success' | 'warning' | 'info' | 'error'
4
@@ -20,7 +20,7 @@ export interface CloseEventHandler {
20
/** Options used in Message */
21
export interface ElMessageOptions {
22
/** Message text */
23
- message: string
+ message: string | VNode
24
25
/** Message type */
26
type?: MessageType
0 commit comments