Update IconsDoc.vue

pull/5677/head
tugcekucukoglu 2024-04-30 11:04:41 +03:00
parent 4c8eb6cab2
commit a247c49bd9
1 changed files with 3 additions and 13 deletions

View File

@ -4,16 +4,6 @@
</DocSectionText> </DocSectionText>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" @click="save" :model="items" /> <SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" @click="save" :model="items" />
<SplitButton label="Save" icon="pi pi-check" @click="save" :model="items">
<template #dropdownicon>
<i class="pi pi-discord"></i>
</template>
</SplitButton>
<SplitButton label="Save" icon="pi pi-check" @click="save" :model="items">
<template #menubuttonicon>
<i class="pi pi-discord"></i>
</template>
</SplitButton>
</div> </div>
<DocSectionCode :code="code" /> <DocSectionCode :code="code" />
</template> </template>
@ -48,13 +38,13 @@ export default {
], ],
code: { code: {
basic: ` basic: `
<SplitButton label="Save" icon="pi pi-check" menuButtonIcon="pi pi-cog" @click="save" :model="items" /> <SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" @click="save" :model="items" />
`, `,
options: ` options: `
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<Toast /> <Toast />
<SplitButton label="Save" icon="pi pi-check" menuButtonIcon="pi pi-cog" @click="save" :model="items" /> <SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" @click="save" :model="items" />
</div> </div>
</template> </template>
@ -100,7 +90,7 @@ export default {
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<Toast /> <Toast />
<SplitButton label="Save" icon="pi pi-check" menuButtonIcon="pi pi-cog" @click="save" :model="items" /> <SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" @click="save" :model="items" />
</div> </div>
</template> </template>