@props(['customSecondaryHeader' => false, 'useHeaderAsFooter' => false, 'customFooter' => false])
except(['wire:sortable', 'class']) }} class="{{ trim($attributes->get('class')) ?: 'table table-striped'}}">
{{ $head }}
only('wire:sortable') }}>
@if ($customSecondaryHeader)
{{ $customSecondaryHead }}
@endif
{{ $body }}
@if ($useHeaderAsFooter || $customFooter)
@if ($useHeaderAsFooter)
{{ $head }}
@elseif($customFooter)
{{ $foot }}
@endif
@endif