Skip to content

Commit

Permalink
Update button demos
Browse files Browse the repository at this point in the history
  • Loading branch information
gucal committed Oct 11, 2023
1 parent d2b3fff commit be9aafd
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 105 deletions.
6 changes: 3 additions & 3 deletions src/app/showcase/doc/button/badgedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Code } from '../../domain/code';
</app-docsectiontext>
<div class="card flex justify-content-center">
<p-button label="Emails" badge="8"></p-button>
<p-button label="Messages" icon="pi pi-users" styleClass="p-button-warning" badge="8" badgeClass="p-badge-danger"></p-button>
<p-button label="Messages" icon="pi pi-users" severity="warning" badge="8" badgeClass="p-badge-danger"></p-button>
</div>
<app-code [code]="code" selector="button-badge-demo"></app-code>
</section>`
Expand All @@ -22,12 +22,12 @@ export class BadgeDoc {
code: Code = {
basic: `
<p-button label="Emails" badge="8"></p-button>
<p-button label="Messages" icon="pi pi-users" styleClass="p-button-warning" badge="8" badgeClass="p-badge-danger"></p-button>`,
<p-button label="Messages" icon="pi pi-users" severity="warning" badge="8" badgeClass="p-badge-danger"></p-button>`,

html: `
<div class="card flex justify-content-center">
<p-button label="Emails" badge="8"></p-button>
<p-button label="Messages" icon="pi pi-users" styleClass="p-button-warning" badge="8" badgeClass="p-badge-danger"></p-button>
<p-button label="Messages" icon="pi pi-users" severity="warning" badge="8" badgeClass="p-badge-danger"></p-button>
</div>`,

typescript: `
Expand Down
Loading

1 comment on commit be9aafd

@vercel
Copy link

@vercel vercel bot commented on be9aafd Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.