2023-04-27 11:56:31 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<Skeleton :pt="{ root: { class: 'w-3rem h-3rem' } }" />
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<Skeleton
|
2023-04-27 11:56:31 +00:00
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-3rem h-3rem' }
|
|
|
|
}"
|
2023-10-15 09:38:39 +00:00
|
|
|
/>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-27 11:56:31 +00:00
|
|
|
<Skeleton
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-3rem h-3rem' }
|
|
|
|
}"
|
|
|
|
/>
|
2023-10-15 09:38:39 +00:00
|
|
|
</template>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-04-27 11:56:31 +00:00
|
|
|
<Skeleton
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-3rem h-3rem' }
|
|
|
|
}"
|
|
|
|
/>
|
2023-11-01 14:36:59 +00:00
|
|
|
</template>
|
|
|
|
`
|
2023-04-27 11:56:31 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|