@props(['route', 'params' => []])
{{-- Download the current filtered list as CSV or Excel (UR-23) --}}
merge(['class' => 'inline-flex items-center overflow-hidden rounded-lg border border-slate-200 bg-white text-sm font-semibold text-slate-700 shadow-sm']) }} role="group" aria-label="Export">
Export
@foreach (['csv' => 'CSV', 'xlsx' => 'Excel'] as $format => $label)
! $loop->first])>{{ $label }}
@endforeach