mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
New code highlight spacing
This commit is contained in:
parent
0a416e0545
commit
ce649d5360
743 changed files with 3945 additions and 1967 deletions
|
@ -18,7 +18,8 @@ export default {
|
|||
code: {
|
||||
basic: `
|
||||
<Toast />
|
||||
<Button label="Show" @click="show()" />`,
|
||||
<Button label="Show" @click="show()" />
|
||||
`,
|
||||
options: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -35,7 +36,8 @@ export default {
|
|||
}
|
||||
}
|
||||
};
|
||||
<\/script>`,
|
||||
<\/script>
|
||||
`,
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-content-center">
|
||||
|
@ -51,7 +53,8 @@ const toast = useToast();
|
|||
const show = () => {
|
||||
toast.add({ severity: 'info', summary: 'Info', detail: 'Message Content', life: 3000 });
|
||||
};
|
||||
<\/script>`
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue