mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
parent
38cd13a5e7
commit
0ddfeb4fb0
4 changed files with 42 additions and 13 deletions
|
@ -4,6 +4,19 @@ const InlineMessageProps = [
|
|||
type: 'string',
|
||||
default: 'error',
|
||||
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
||||
},
|
||||
{
|
||||
name: 'icon',
|
||||
type: 'string',
|
||||
default: 'undefined',
|
||||
description: 'Display a custom icon for the message.'
|
||||
}
|
||||
];
|
||||
|
||||
const MessageSlots = [
|
||||
{
|
||||
name: 'messageicon',
|
||||
description: 'Custom message icon template.'
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -12,6 +25,7 @@ module.exports = {
|
|||
name: 'InlineMessage',
|
||||
description: 'InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms',
|
||||
'doc-url': 'message',
|
||||
props: InlineMessageProps
|
||||
props: InlineMessageProps,
|
||||
slots: MessageSlots
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue