<?php

declare(strict_types=1);

/**
 * @var string $text
 * @var string $title
 */

?>
<?= view('modals/header', ['title' => $title]) ?>

<div class="modal-body">
    <?= $text ?>
</div>

<?= view('modals/footer-close') ?>
