From b72214dee4969ce9c27feaffb4aba5e3d3c3c1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mar=C3=ADn?= <50973629+franmc01@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:28:34 -0500 Subject: [PATCH] fix(docs): add missing commas in code examples (#7030) --- components/doc/messages/severitydoc.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/doc/messages/severitydoc.js b/components/doc/messages/severitydoc.js index 019043d374..f4db4d3e09 100644 --- a/components/doc/messages/severitydoc.js +++ b/components/doc/messages/severitydoc.js @@ -27,8 +27,8 @@ msgs.current.show([ {sticky: true, severity: 'info', summary: 'Info', detail: 'Message Content', closable: false}, {sticky: true, severity: 'success', summary: 'Success', detail: 'Message Content', closable: false}, {sticky: true, severity: 'warn', summary: 'Warning', detail: 'Message Content', closable: false}, - {sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content', closable: false} - {sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content', closable: false} + {sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content', closable: false}, + {sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content', closable: false}, {sticky: true, severity: 'contrast', summary: 'Contrast', detail: 'Message Content', closable: false} ]); `, @@ -47,8 +47,8 @@ export default function SeverityDemo() { { sticky: true, severity: 'info', summary: 'Info', detail: 'Message Content', closable: false }, { sticky: true, severity: 'success', summary: 'Success', detail: 'Message Content', closable: false }, { sticky: true, severity: 'warn', summary: 'Warning', detail: 'Message Content', closable: false }, - { sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content', closable: false } - { sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content', closable: false } + { sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content', closable: false }, + { sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content', closable: false }, { sticky: true, severity: 'contrast', summary: 'Contrast', detail: 'Message Content', closable: false } ]); } @@ -73,8 +73,8 @@ export default function SeverityDemo() { {sticky: true, severity: 'info', summary: 'Info', detail: 'Message Content'}, {sticky: true, severity: 'success', summary: 'Success', detail: 'Message Content'}, {sticky: true, severity: 'warn', summary: 'Warning', detail: 'Message Content'}, - {sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content'} - {sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content'} + {sticky: true, severity: 'error', summary: 'Error', detail: 'Message Content'}, + {sticky: true, severity: 'secondary', summary: 'Secondary', detail: 'Message Content'}, {sticky: true, severity: 'contrast', summary: 'Contrast', detail: 'Message Content'} ]); });