@props(['first' => false, 'placeholder' => false]) @php $th_classes = "py-3.5 text-left text-sm font-semibold text-gray-900"; $th_classes .= $first ? ' pl-4 pr-3 sm:pl-6':' px-3'; if($placeholder) $th_classes = "relative py-3.5 pl-3 pr-4 sm:pr-6"; @endphp merge(['scope' =>'col','class' => $th_classes]) }}>{{ $slot }}