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

8 lines
328 B
PHP

@props(['dark' => null, 'bordered' => null, 'hover' => null, 'striped' => null, 'sm' => null])
<table
data-tw-merge
{{ $attributes->class(merge(['w-full text-left', $dark ? 'bg-dark text-white dark:bg-black/30' : null]))->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</table>