@props([ 'headers' => [], 'striped' => true, 'empty' => null, ])
merge(['class' => 'cmu-card p-0 overflow-hidden']) }}>
@if(count($headers) > 0) @foreach($headers as $h) @php $isArray = is_array($h); $label = $isArray ? ($h['label'] ?? '') : (string) $h; $align = $isArray ? ($h['align'] ?? 'left') : 'left'; $width = $isArray ? ($h['width'] ?? null) : null; @endphp @endforeach @endif {{ $slot }}
{{ $label }}
@if($empty !== null)
{{ $empty }}
@endif