$componentClass::destroyOnClose(),
'maxWidth' => $componentClass::modalMaxWidth(),
'maxWidthClass' => $componentClass::modalMaxWidthClass(),
+ 'align' => $componentClass::align(),
], $modalAttributes),
];
diff --git a/src/ModalComponent.php b/src/ModalComponent.php
index f169595..4054651 100644
--- a/src/ModalComponent.php
+++ b/src/ModalComponent.php
@@ -27,6 +27,9 @@ abstract class ModalComponent extends Component implements Contract
'7xl' => 'sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl',
];
+ protected static string $align = "items-end";
+
+
public function destroySkippedModals(): self
{
$this->destroySkipped = true;