<?php

declare(strict_types=1);

use Fisharebest\Webtrees\Individual;

/**
 * @var Individual|null $individual
 */

?>
<?php if ($individual instanceof Individual) : ?>
    <?= view('chart-box', ['individual' => $individual]) ?>
<?php else : ?>
    <div class="h-100 wt-chart-box">&nbsp;</div>
<?php endif ?>
