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

@ -4,11 +4,11 @@
PrimeVue offers a built-in Tailwind theme to get you started quickly. The default values related to the component are displayed below. The component can easily be styled with your own design based on Tailwind utilities, see the
<PrimeVueNuxtLink to="/tailwind">Tailwind Customization</PrimeVueNuxtLink> section for an example.
</p>
<div class="overflow-auto" style="max-height: 40rem">
<DocSectionCode :code="code1" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</div>
<p class="mt-6">A playground sample with the pre-built Tailwind theme.</p>
<DocSectionCode :code="code2" embedded />
<!-- <div class="overflow-auto" style="max-height: 40rem"> -->
<DocSectionCode :code="code1" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
<!-- </div> -->
<p class="mt-6s">A playground sample with the pre-built Tailwind theme.</p>
<!-- <DocSectionCode :code="code2" embedded /> -->
</DocSectionText>
</template>
@ -17,8 +17,7 @@ export default {
data() {
return {
code1: {
basic: `
export const TRANSITIONS = {
basic: `export const TRANSITIONS = {
overlay: {
enterFromClass: 'opacity-0 scale-75',
enterActiveClass: 'transition-transform transition-opacity duration-150 ease-in',
@ -160,8 +159,7 @@ export default {
`
},
code2: {
composition: `
<template>
composition: `<template>
<div class="card flex justify-center flex-wrap">
<Toast />
<SplitButton label="Save" :model="items" icon="pi pi-plus" @click="save" class="mb-2"></SplitButton>