mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -25,16 +25,14 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
code: {
|
||||
basic: `
|
||||
<Button label="Check" icon="pi pi-check" unstyled
|
||||
basic: `<Button label="Check" icon="pi pi-check" unstyled
|
||||
:pt="{
|
||||
root: { class: 'bg-teal-500 hover:bg-teal-700 cursor-pointer text-white p-3 border-round border-none flex gap-2' },
|
||||
label: { class: 'text-white font-bold text-xl' },
|
||||
icon: 'text-white text-2xl' // OR { class: 'text-white text-2xl' }
|
||||
}"
|
||||
/>`,
|
||||
options: `
|
||||
<template>
|
||||
options: `<template>
|
||||
<div class="card">
|
||||
<Button label="Check" icon="pi pi-check" unstyled
|
||||
:pt="{
|
||||
|
@ -48,8 +46,7 @@ export default {
|
|||
|
||||
<script>
|
||||
<\/script>`,
|
||||
composition: `
|
||||
<template>
|
||||
composition: `<template>
|
||||
<Button label="Check" icon="pi pi-check" unstyled
|
||||
:pt="{
|
||||
root: { class: 'bg-teal-500 hover:bg-teal-700 cursor-pointer text-white p-3 border-round border-none flex gap-2' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue