xref: /webtrees/resources/views/modules/compact-chart/individual.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Individual;
6
7/**
8 * @var Individual|null $individual
9 */
10
11?>
12<?php if ($individual instanceof Individual) : ?>
13    <?= view('chart-box', ['individual' => $individual]) ?>
14<?php else : ?>
15    <div class="h-100 wt-chart-box">&nbsp;</div>
16<?php endif ?>
17