Skip to content

Commit

Permalink
Add help button
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jun 17, 2020
1 parent 2a74182 commit 6b92199
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/button/ButtonDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<Button label="Success" class="p-button-success" />
<Button label="Info" class="p-button-info" />
<Button label="Warning" class="p-button-warning" />
<Button label="Help" class="p-button-help" />
<Button label="Danger" class="p-button-danger" />
<Button label="Link" class="p-button-link" />

Expand All @@ -32,6 +33,7 @@
<Button label="Success" class="p-button-raised p-button-success" />
<Button label="Info" class="p-button-raised p-button-info" />
<Button label="Warning" class="p-button-raised p-button-warning" />
<Button label="Help" class="p-button-raised p-button-help" />
<Button label="Danger" class="p-button-raised p-button-danger" />

<h3>Rounded Buttons</h3>
Expand All @@ -40,6 +42,7 @@
<Button label="Success" class="p-button-rounded p-button-success" />
<Button label="Info" class="p-button-rounded p-button-info" />
<Button label="Warning" class="p-button-rounded p-button-warning" />
<Button label="Help" class="p-button-rounded p-button-help" />
<Button label="Danger" class="p-button-rounded p-button-danger" />

<h3>Rounded Icon Buttons</h3>
Expand All @@ -48,6 +51,7 @@
<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-lock" class="p-button-rounded p-button-help" />
<Button icon="pi pi-times" class="p-button-rounded p-button-danger" />

<h3>Badges</h3>
Expand Down
2 changes: 2 additions & 0 deletions src/views/button/ButtonDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import Button from 'primevue/button';
<li>.p-button-success</li>
<li>.p-button-info</li>
<li>.p-button-warning</li>
<li>.p-button-help</li>
<li>.p-button-danger</li>
</ul>

Expand All @@ -48,6 +49,7 @@ import Button from 'primevue/button';
&lt;Button label="Success" class="p-button-success" /&gt;
&lt;Button label="Info" class="p-button-info" /&gt;
&lt;Button label="Warning" class="p-button-warning" /&gt;
&lt;Button label="Warning" class="p-button-help" /&gt;
&lt;Button label="Danger" class="p-button-danger" /&gt;
</CodeHighlight>

Expand Down

0 comments on commit 6b92199

Please sign in to comment.