Fixed Button in the popover basic doc to be consistent in both the demo and the code section.

pull/6192/head
lukfd 2024-08-06 14:31:47 -05:00
parent 6e55ee9514
commit b8bb58f610
1 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ export default {
], ],
code: { code: {
basic: ` basic: `
<Button type="button" icon="pi pi-image" label="Image" @click="toggle" /> <Button type="button" icon="pi pi-share-alt" label="Share" @click="toggle" />
<Popover ref="op"> <Popover ref="op">
<div class="flex flex-col gap-4 w-[25rem]"> <div class="flex flex-col gap-4 w-[25rem]">
@ -98,7 +98,7 @@ export default {
options: ` options: `
<template> <template>
<div class="card flex justify-center"> <div class="card flex justify-center">
<Button type="button" icon="pi pi-image" label="Image" @click="toggle" /> <Button type="button" icon="pi pi-share-alt" label="Share" @click="toggle" />
<Popover ref="op"> <Popover ref="op">
<div class="flex flex-col gap-4 w-[25rem]"> <div class="flex flex-col gap-4 w-[25rem]">
@ -161,7 +161,7 @@ export default {
composition: ` composition: `
<template> <template>
<div class="card flex justify-center"> <div class="card flex justify-center">
<Button type="button" icon="pi pi-image" label="Image" @click="toggle" /> <Button type="button" icon="pi pi-share-alt" label="Share" @click="toggle" />
<Popover ref="op"> <Popover ref="op">
<div class="flex flex-col gap-4 w-[25rem]"> <div class="flex flex-col gap-4 w-[25rem]">