@props([ 'results', 'icon', 'title', 'covgroup', 'category' => 'All', 'parentcat', 'searchPlaceholder', 'searchCategory' => null, 'totalLabel' => 'results found', ]) @php $totalResults = is_object($results) && method_exists($results, 'total') ? $results->total() : count($results); @endphp

{{ $title }}

{{ number_format($totalResults) }} {{ $totalLabel }}