@props([ 'id' => 'status-metric-' . uniqid(), 'label' => '', 'endpoint', 'percentage' => null ])
merge(['class' => 'js-metric-status-widget border border-complement100 bg-white rounded-lg p-4 md:p-5 flex flex-col md:flex-row']) }} data-endpoint="{{ $endpoint }}" data-id="{{ $id }}">

{{ $label }}

@if($percentage)
{{ $percentage }}
@endif
@once @endonce