{{-- Satu angka: label, nilai, petunjuk, dan tautan opsional (seluruh sel menjadi tautan). --}} @props(['label', 'value', 'href' => null, 'hint' => null]) @php $shown = is_int($value) ? number_format($value, 0, ',', '.') : $value; @endphp
class('figure') }}>
@if ($href) {{ $label }} @else {{ $label }} @endif
{{ $shown }}
@if ($hint)
{{ $hint }}
@endif