primevue-mirror/api-generator/components/inlinemessage.js
Tuğçe Küçükoğlu 4d1e62b33a api generator updates
2023-04-18 16:42:36 +03:00

31 lines
813 B
JavaScript

const InlineMessageProps = [
{
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: 'icon',
description: 'Custom icon template.'
}
];
module.exports = {
inlinemessage: {
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
}
};