@props([ 'currency' => 'GHS', 'monthlyMinor' => 0, 'prepaidMinor' => null, 'monthlyDisplay' => null, 'monthlySuffix' => '/mo', 'dark' => false, ]) @php $prepaidBase = (int) ($prepaidMinor ?? $monthlyMinor); $monthlyFormatted = $monthlyDisplay ?? number_format((int) $monthlyMinor / 100, 0); $muted = $dark ? 'text-slate-300' : 'text-slate-500'; $text = $dark ? 'text-white' : 'text-slate-900'; @endphp
merge(['class' => "mt-2 text-3xl font-bold {$text}"]) }}> {{ $currency }} {{ $monthlyFormatted }}{{ $monthlySuffix }}