41 lines
698 B
Vue
41 lines
698 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs"></DocSectionText>
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
code: {
|
|
basic: `
|
|
<DynamicDialog
|
|
:pt="{
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
}"
|
|
/>
|
|
`,
|
|
options: `
|
|
<template>
|
|
<DynamicDialog
|
|
:pt="{
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
}"
|
|
/>
|
|
</template>
|
|
`,
|
|
composition: `
|
|
<template>
|
|
<DynamicDialog
|
|
:pt="{
|
|
root: { class: 'w-12 sm:w-9 md:w-6' }
|
|
}"
|
|
/>
|
|
</template>
|
|
`
|
|
}
|
|
};
|
|
}
|
|
};
|
|
</script>
|