@props(['preset', 'from', 'to', 'current' => 'all', 'options' => []]) {{-- Modern date-range filter: a preset picker (this week / month / year, last N days, YTD) with an inline custom range that appears only when chosen. Pass the Livewire property names as strings so it can bind to any table. --}}
merge(['class' => 'flex flex-wrap items-center gap-2']) }}>
@if ($current === 'custom')
{{ __('to') }}
@endif