Add help button

pull/345/head
cagataycivici 2020-06-17 12:22:15 +03:00
parent 2a74182397
commit 6b921999f0
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<Button label="Success" class="p-button-success" /> <Button label="Success" class="p-button-success" />
<Button label="Info" class="p-button-info" /> <Button label="Info" class="p-button-info" />
<Button label="Warning" class="p-button-warning" /> <Button label="Warning" class="p-button-warning" />
<Button label="Help" class="p-button-help" />
<Button label="Danger" class="p-button-danger" /> <Button label="Danger" class="p-button-danger" />
<Button label="Link" class="p-button-link" /> <Button label="Link" class="p-button-link" />
@ -32,6 +33,7 @@
<Button label="Success" class="p-button-raised p-button-success" /> <Button label="Success" class="p-button-raised p-button-success" />
<Button label="Info" class="p-button-raised p-button-info" /> <Button label="Info" class="p-button-raised p-button-info" />
<Button label="Warning" class="p-button-raised p-button-warning" /> <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" /> <Button label="Danger" class="p-button-raised p-button-danger" />
<h3>Rounded Buttons</h3> <h3>Rounded Buttons</h3>
@ -40,6 +42,7 @@
<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="Help" class="p-button-rounded p-button-help" />
<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> <h3>Rounded Icon Buttons</h3>
@ -48,6 +51,7 @@
<Button icon="pi pi-search" class="p-button-rounded p-button-success" /> <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-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-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" /> <Button icon="pi pi-times" class="p-button-rounded p-button-danger" />
<h3>Badges</h3> <h3>Badges</h3>

View File

@ -39,6 +39,7 @@ import Button from 'primevue/button';
<li>.p-button-success</li> <li>.p-button-success</li>
<li>.p-button-info</li> <li>.p-button-info</li>
<li>.p-button-warning</li> <li>.p-button-warning</li>
<li>.p-button-help</li>
<li>.p-button-danger</li> <li>.p-button-danger</li>
</ul> </ul>
@ -48,6 +49,7 @@ import Button from 'primevue/button';
&lt;Button label="Success" class="p-button-success" /&gt; &lt;Button label="Success" class="p-button-success" /&gt;
&lt;Button label="Info" class="p-button-info" /&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-warning" /&gt;
&lt;Button label="Warning" class="p-button-help" /&gt;
&lt;Button label="Danger" class="p-button-danger" /&gt; &lt;Button label="Danger" class="p-button-danger" /&gt;
</CodeHighlight> </CodeHighlight>