More samples for button demo
parent
8e6f8e1b77
commit
59f0c84864
|
@ -35,7 +35,6 @@
|
||||||
<Button label="Danger" class="p-button-raised p-button-danger" />
|
<Button label="Danger" class="p-button-raised p-button-danger" />
|
||||||
|
|
||||||
<h3>Rounded Buttons</h3>
|
<h3>Rounded Buttons</h3>
|
||||||
<Button icon="pi pi-check" class="p-button-rounded" />
|
|
||||||
<Button label="Primary" class="p-button-rounded" />
|
<Button label="Primary" class="p-button-rounded" />
|
||||||
<Button label="Secondary" class="p-button-rounded p-button-secondary" />
|
<Button label="Secondary" class="p-button-rounded p-button-secondary" />
|
||||||
<Button label="Success" class="p-button-rounded p-button-success" />
|
<Button label="Success" class="p-button-rounded p-button-success" />
|
||||||
|
@ -43,6 +42,14 @@
|
||||||
<Button label="Warning" class="p-button-rounded p-button-warning" />
|
<Button label="Warning" class="p-button-rounded p-button-warning" />
|
||||||
<Button label="Danger" class="p-button-rounded p-button-danger" />
|
<Button label="Danger" class="p-button-rounded p-button-danger" />
|
||||||
|
|
||||||
|
<h3>Rounded Icon Buttons</h3>
|
||||||
|
<Button icon="pi pi-check" class="p-button-rounded" />
|
||||||
|
<Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary" />
|
||||||
|
<Button icon="pi pi-search" class="p-button-rounded p-button-success" />
|
||||||
|
<Button icon="pi pi-user" class="p-button-rounded p-button-info" />
|
||||||
|
<Button icon="pi pi-lock" class="p-button-rounded p-button-warning" />
|
||||||
|
<Button icon="pi pi-times" class="p-button-rounded p-button-danger" />
|
||||||
|
|
||||||
<h3>Badges</h3>
|
<h3>Badges</h3>
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<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-danger" />
|
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" />
|
||||||
|
|
|
@ -212,13 +212,20 @@ import Button from 'primevue/button';
|
||||||
<Button label="Danger" class="p-button-raised p-button-danger" />
|
<Button label="Danger" class="p-button-raised p-button-danger" />
|
||||||
|
|
||||||
<h3>Rounded Buttons</h3>
|
<h3>Rounded Buttons</h3>
|
||||||
<Button label="Primary" class="p-button-rounded" />
|
|
||||||
<Button label="Secondary" class="p-button-rounded p-button-secondary" />
|
<Button label="Secondary" class="p-button-rounded p-button-secondary" />
|
||||||
<Button label="Success" class="p-button-rounded p-button-success" />
|
<Button label="Success" class="p-button-rounded p-button-success" />
|
||||||
<Button label="Info" class="p-button-rounded p-button-info" />
|
<Button label="Info" class="p-button-rounded p-button-info" />
|
||||||
<Button label="Warning" class="p-button-rounded p-button-warning" />
|
<Button label="Warning" class="p-button-rounded p-button-warning" />
|
||||||
<Button label="Danger" class="p-button-rounded p-button-danger" />
|
<Button label="Danger" class="p-button-rounded p-button-danger" />
|
||||||
|
|
||||||
|
<h3>Rounded Icon Buttons</h3>
|
||||||
|
<Button icon="pi pi-check" class="p-button-rounded" />
|
||||||
|
<Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary" />
|
||||||
|
<Button icon="pi pi-search" class="p-button-rounded p-button-success" />
|
||||||
|
<Button icon="pi pi-user" class="p-button-rounded p-button-info" />
|
||||||
|
<Button icon="pi pi-lock" class="p-button-rounded p-button-warning" />
|
||||||
|
<Button icon="pi pi-times" class="p-button-rounded p-button-danger" />
|
||||||
|
|
||||||
<h3>Badges</h3>
|
<h3>Badges</h3>
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<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-danger" />
|
<Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" />
|
||||||
|
|
Loading…
Reference in New Issue