Code representation style fixes

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-22 15:54:14 +03:00
parent 11051fc020
commit e0fe133189
863 changed files with 4545 additions and 2404 deletions

View file

@ -25,14 +25,16 @@ 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="{
@ -46,7 +48,8 @@ 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' },