@props([
'column',
'sortingEnabled' => true,
'sortable' => null,
'direction' => null,
'text' => null,
'customAttributes' => [],
])
@unless ($sortingEnabled && $sortable)
merge($customAttributes) }}>
{{ $text ?? $slot }}
|
@else
merge($customAttributes) }}
style="cursor:pointer;"
>
{{ $text }}
@if ($direction === 'asc')
@elseif ($direction === 'desc')
@else
@endif
|
@endif