fix: updated prop name

This commit is contained in:
Liyas Thomas
2022-10-30 17:50:17 +05:30
parent 2f4c39d310
commit eb2145c7da
2 changed files with 13 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
<Transition name="bounce" appear>
<div
class="inline-block w-full overflow-hidden text-left align-bottom border shadow-lg transition-all transform border-dividerDark bg-primary sm:rounded-xl sm:align-middle"
:class="[{ 'mt-24 md:mb-8': placement === 'top' }, maxWidth]"
:class="[{ 'mt-24 md:mb-8': placement === 'top' }, styles]"
>
<div
v-if="title"
@@ -120,7 +120,7 @@ defineProps({
type: Boolean,
default: false,
},
maxWidth: {
styles: {
type: String,
default: "sm:max-w-lg",
},