primevue-mirror/api-generator/components/inlinemessage.js

32 lines
828 B
JavaScript
Raw Normal View History

const InlineMessageProps = [
{
2022-09-14 14:26:41 +00:00
name: 'severity',
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.'
}
];
module.exports = {
inlinemessage: {
2022-09-14 14:26:41 +00:00
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,
slots: MessageSlots
}
};