2023-04-28 12:06:39 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"></DocSectionText>
|
|
|
|
<div class="card">
|
|
|
|
<Message
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Message Content
|
|
|
|
</Message>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<Message
|
2023-04-28 12:06:39 +00:00
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Message Content
|
2023-10-15 09:38:39 +00:00
|
|
|
</Message>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-28 12:06:39 +00:00
|
|
|
<div class="card">
|
|
|
|
<Message
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Message Content
|
|
|
|
</Message>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-04-28 12:06:39 +00:00
|
|
|
<div class="card">
|
|
|
|
<Message
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Message Content
|
|
|
|
</Message>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`
|
2023-04-28 12:06:39 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|