mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue