@props([
'column',
'sortingEnabled' => true,
'sortable' => null,
'direction' => null,
'text' => null,
'customAttributes' => [],
])
merge(array_merge(['class' => 'px-3 py-2 md:px-6 md:py-3 bg-gray-50 dark:bg-gray-800'], $customAttributes)) }}
>
@unless ($sortingEnabled && $sortable)
{{ $text ?? $slot }}
@else
@endif
|