xref: /webtrees/resources/views/modules/compact-chart/individual.phtml (revision 0db1e7d20bab9209012a4f3fdc1af3ef87a1a528)
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