mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
ButtonSet added to docs
This commit is contained in:
parent
df8ad26380
commit
5b2c109029
3 changed files with 11 additions and 11 deletions
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>Multiple buttons are grouped when wrapped inside an element with <i>p-buttonset</i> class.</p>
|
||||
<p>Multiple buttons are grouped when wrapped inside an element with <i>ButtonSet</i> component.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-content-center">
|
||||
<span class="p-buttonset">
|
||||
<ButtonSet>
|
||||
<Button label="Save" icon="pi pi-check" />
|
||||
<Button label="Delete" icon="pi pi-trash" />
|
||||
<Button label="Cancel" icon="pi pi-times" />
|
||||
</span>
|
||||
</ButtonSet>
|
||||
</div>
|
||||
<DocSectionCode :code="code" />
|
||||
</template>
|
||||
|
@ -18,20 +18,20 @@ export default {
|
|||
return {
|
||||
code: {
|
||||
basic: `
|
||||
<span class="p-buttonset">
|
||||
<ButtonSet>
|
||||
<Button label="Save" icon="pi pi-check" />
|
||||
<Button label="Delete" icon="pi pi-trash" />
|
||||
<Button label="Cancel" icon="pi pi-times" />
|
||||
</span>
|
||||
</ButtonSet>
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<span class="p-buttonset">
|
||||
<ButtonSet>
|
||||
<Button label="Save" icon="pi pi-check" />
|
||||
<Button label="Delete" icon="pi pi-trash" />
|
||||
<Button label="Cancel" icon="pi pi-times" />
|
||||
</span>
|
||||
</ButtonSet>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -41,11 +41,11 @@ export default {
|
|||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
<span class="p-buttonset">
|
||||
<ButtonSet>
|
||||
<Button label="Save" icon="pi pi-check" />
|
||||
<Button label="Delete" icon="pi pi-trash" />
|
||||
<Button label="Cancel" icon="pi pi-times" />
|
||||
</span>
|
||||
</ButtonSet>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue