Badge update

pull/345/head
cagataycivici 2020-05-13 15:37:36 +03:00
parent 89bad1cb6f
commit 737f1efef5
4 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@
<h3>Inline Button Badge</h3>
<Button type="button" label="Emails" badge="8" />
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-class-error" />
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" />
<h3>Sizes</h3>
<div class="badges">

View File

@ -48,7 +48,7 @@
<CodeHighlight>
&lt;Button type="button" label="Emails" badge="8" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-class-error" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" /&gt;
</CodeHighlight>
<h3>Sizes</h3>
@ -154,7 +154,7 @@
&lt;h3&gt;Inline Button Badge&lt;/h3&gt;
&lt;Button type="button" label="Emails" badge="8" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-class-error" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" /&gt;
&lt;h3&gt;Sizes&lt;/h3&gt;
&lt;div class="badges"&gt;

View File

@ -45,7 +45,7 @@
<h3>Badges</h3>
<Button type="button" label="Emails" badge="8" />
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-info" />
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" />
<h3>Button Set</h3>
<span class="p-buttonset">

View File

@ -221,7 +221,7 @@ import Button from 'primevue/button';
&lt;h3&gt;Badges&lt;/h3&gt;
&lt;Button type="button" label="Emails" badge="8" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-info" /&gt;
&lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" /&gt;
&lt;h3&gt;Button Set&lt;/h3&gt;
&lt;span class="p-buttonset"&gt;