@props([ 'headers' => [], 'searchable' => true, 'searchPlaceholder' => 'Search...', ])
@if($searchable)
@endif
{{ $actions ?? '' }}
@foreach($headers as $header) @php $key = $header['key'] ?? null; $sortable = (bool) ($header['sortable'] ?? false); $label = $header['label'] ?? $key; @endphp @endforeach {{ $row ?? $slot }}
{{ $empty ?? 'No matching records found.' }}
{{ $pagination ?? '' }}