pianello-api/resources/views/components/base/table/td.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

15 lines
496 B
PHP

@aware(['dark' => null, 'bordered' => null, 'sm' => null])
<td
data-tw-merge
{{ $attributes->class(
merge([
'px-5 py-3 border-b dark:border-darkmode-300',
$dark ? 'border-slate-600 dark:border-darkmode-300' : null,
$bordered ? 'border-l border-r border-t' : null,
$sm ? 'px-4 py-2' : null,
]),
)->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</td>