Docs typing updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-16 16:58:31 +03:00
parent ca65d7dfdb
commit cfc8136b25
739 changed files with 2027 additions and 3969 deletions

View file

@ -30,8 +30,7 @@ export default {
return {
items: [{ separator: true }, { label: 'Profile', icon: 'pi pi-fw pi-user' }, { label: 'Settings', icon: 'pi pi-fw pi-cog' }, { separator: true }],
code: {
basic: `
<Menu :model="items">
basic: `<Menu :model="items">
<template #start>
<button @click="profileClick" class="w-full p-link flex align-items-center p-2 pl-3 text-color hover:surface-200 border-noround">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" class="mr-2" shape="circle" />
@ -48,8 +47,7 @@ export default {
</button>
</template>
</Menu>`,
options: `
<template>
options: `<template>
<div class="card flex justify-content-center">
<Menu :model="items">
<template #start>
@ -91,8 +89,7 @@ export default {
}
};
<\/script>`,
composition: `
<template>
composition: `<template>
<div class="card flex justify-content-center">
<Menu :model="items">
<template #start>