Refactor #3832 Refactor #3833 - For InlineMessage

This commit is contained in:
Bahadır Sofuoğlu 2023-04-07 21:49:14 +03:00
parent 38cd13a5e7
commit 0ddfeb4fb0
4 changed files with 42 additions and 13 deletions

View file

@ -19,6 +19,10 @@ export interface InlineMessageProps {
* @defaultValue info
*/
severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
/**
* Display a custom icon for the message.
*/
icon?: string | undefined;
}
/**
* Defines valid slots in InlineMessage slots.
@ -28,6 +32,10 @@ export interface InlineMessageSlots {
* Default custom slot.
*/
default(): VNode[];
/**
* Custom message icon template.
*/
messageicon(): VNode[];
}
export interface InlineMessageEmits {}