Fixed #2507 - The default severity of the InlineMessage is info, but in the code the default severity is 'error'.

pull/2558/head
Tuğçe Küçükoğlu 2022-05-24 11:10:58 +03:00
parent cdcdd05ddb
commit 5a8ef46c42
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ const InlineMessageProps = [
{ {
name: "severity", name: "severity",
type: "string", type: "string",
default: "info", default: "error",
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".' description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
} }
]; ];

View File

@ -139,7 +139,7 @@ import InlineMessage from 'primevue/inlinemessage';
<tr> <tr>
<td>severity</td> <td>severity</td>
<td>string</td> <td>string</td>
<td>info</td> <td>error</td>
<td>Severity level of the message.</td> <td>Severity level of the message.</td>
</tr> </tr>
</tbody> </tbody>