@aware(['component']) @props(['column' => null, 'customAttributes' => []]) @php $theme = $component->getTheme(); @endphp @if ($theme === 'tailwind') merge($customAttributes) ->class(['px-6 py-4 whitespace-nowrap text-sm font-medium dark:text-white' => $customAttributes['default'] ?? true]) ->class(['hidden sm:table-cell' => $column && $column->shouldCollapseOnMobile()]) ->class(['hidden md:table-cell' => $column && $column->shouldCollapseOnTablet()]) ->except('default') }}>{{ $slot }} @elseif ($theme === 'bootstrap-4' || $theme === 'bootstrap-5') merge($customAttributes) ->class(['' => $customAttributes['default'] ?? true]) ->class(['none d-sm-table-cell' => $column && $column->shouldCollapseOnMobile()]) ->class(['none d-md-table-cell' => $column && $column->shouldCollapseOnTablet()]) ->except('default') }}>{{ $slot }} @endif