2021-05-12 09:35:29 +00:00
|
|
|
const InlineMessageProps = [
|
|
|
|
{
|
|
|
|
name: "severity",
|
|
|
|
type: "string",
|
2022-05-24 08:10:58 +00:00
|
|
|
default: "error",
|
2021-05-12 09:35:29 +00:00
|
|
|
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
};
|