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