@props([
'tone' => 'warn',
'badge' => '',
'status' => '',
'count' => 0,
'sublabel' => '',
'description' => '',
'tags' => [],
])
merge(['class' => 'mec-priority-watch-card mec-priority-watch-card--'.$tone]) }}>
{{ $badge }}
{{ $status }}
{{ number_format((int) $count) }}
{{ $sublabel }}
{{ $description }}
@if(!empty($tags))
@foreach($tags as $tag)
@php
$label = is_array($tag) ? ($tag['label'] ?? '') : $tag;
$variant = is_array($tag) ? ($tag['variant'] ?? 'neutral') : 'neutral';
@endphp
{{ $label }}
@endforeach
@endif