Skip to content

Commit

Permalink
fix(docs): add missing commas in code examples (#7030)
Browse files Browse the repository at this point in the history
  • Loading branch information
franmc01 authored Aug 12, 2024
1 parent fe26515 commit b72214d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/doc/messages/severitydoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
]);
`,
Expand All @@ -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 }
]);
}
Expand All @@ -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'}
]);
});
Expand Down

0 comments on commit b72214d

Please sign in to comment.