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
|
|
|
|
</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>
|
|
|
|
<\/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>
|
|
|
|
<\/script>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|