@props([ 'column', 'sortable' => null, 'direction' => null, 'text' => null, ]) merge(['class' => 'px-3 py-2 md:px-6 md:py-3 bg-gray-50'])->only('class') }} > @unless ($sortable)
{{ $text ?? $slot }}
@else
except('class') }} class="flex items-center space-x-1 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider group focus:outline-none focus:underline" >
{{ $text ?? $slot }}
@if ($direction === 'asc')
@elseif ($direction === 'desc')
@else
@endif
@endif