2023-04-28 08:54:50 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs"></DocSectionText>
|
|
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<DynamicDialog
|
2023-04-28 08:54:50 +00:00
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
|
|
}"
|
2023-10-15 09:38:39 +00:00
|
|
|
/>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-28 08:54:50 +00:00
|
|
|
<DynamicDialog
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
|
|
}"
|
|
|
|
/>
|
2023-10-15 09:38:39 +00:00
|
|
|
</template>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-04-28 08:54:50 +00:00
|
|
|
<DynamicDialog
|
|
|
|
:pt="{
|
|
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
|
|
}"
|
|
|
|
/>
|
2023-11-01 14:36:59 +00:00
|
|
|
</template>
|
|
|
|
`
|
2023-04-28 08:54:50 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|