pianello-api/resources/views/components/base/table/thead.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

13 lines
392 B
PHP

@aware(['variant' => null])
<thead
data-tw-merge
{{ $attributes->class(
merge([
$variant === 'light' ? 'bg-slate-200/60 dark:bg-slate-200' : null,
$variant === 'dark' ? 'bg-dark text-white dark:bg-black/30' : null,
]),
)->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</thead>