Update ButtonDoc.vue
parent
7e585eb2d8
commit
e92bcbb01a
|
@ -4,7 +4,7 @@
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex flex-wrap justify-content-center gap-2">
|
<div class="card flex flex-wrap justify-content-center gap-2">
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<Button type="button" label="Emails" badge="8" />
|
||||||
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeClass="p-badge-info" />
|
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeSeverity="info" />
|
||||||
</div>
|
</div>
|
||||||
<DocSectionCode :code="code" />
|
<DocSectionCode :code="code" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -16,13 +16,13 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<Button type="button" label="Emails" badge="8" />
|
||||||
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeClass="p-badge-info" />
|
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeSeverity="info" />
|
||||||
`,
|
`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-wrap justify-content-center gap-2">
|
<div class="card flex flex-wrap justify-content-center gap-2">
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<Button type="button" label="Emails" badge="8" />
|
||||||
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeClass="p-badge-info" />
|
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeSeverity="info" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export default {
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex flex-wrap justify-content-center gap-2">
|
<div class="card flex flex-wrap justify-content-center gap-2">
|
||||||
<Button type="button" label="Emails" badge="8" />
|
<Button type="button" label="Emails" badge="8" />
|
||||||
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeClass="p-badge-info" />
|
<Button type="button" label="Messages" icon="pi pi-users" severity="secondary" badge="4" badgeSeverity="info" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue