@props([ 'headers' => [], // array of column header strings 'empty' => 'No records found.', ]) {{-- Always wrapped for horizontal scroll on mobile (fixes SW-3). --}}
merge(['class' => 'crh-table']) }}> @if(count($headers)) @foreach($headers as $h)@endforeach @endif {{ $slot }} @isset($emptyState) {{ $emptyState }} @endisset
{{ $h }}