2023-04-28 12:06:39 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"></DocSectionText>
|
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<InlineMessage
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' },
|
|
|
|
icon: { class: 'hidden' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Username is required
|
|
|
|
</InlineMessage>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<InlineMessage
|
2023-04-28 12:06:39 +00:00
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-yellow-100' },
|
|
|
|
icon: { class: 'hidden' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Username is required
|
|
|
|
</InlineMessage>`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-28 12:06:39 +00:00
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<InlineMessage
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-indigo-100' },
|
|
|
|
icon: { class: 'hidden' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Username is required
|
|
|
|
</InlineMessage>
|
|
|
|
</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 flex justify-content-center">
|
|
|
|
<InlineMessage
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'bg-indigo-100' },
|
|
|
|
icon: { class: 'hidden' }
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
Username is required
|
|
|
|
</InlineMessage>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
<\/script>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|