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

9 lines
299 B
PHP

@props(['variant' => 'tabs'])
<ul
data-tw-merge
role="tablist"
{{ $attributes->class(merge([$variant == 'tabs' ? 'border-b border-slate-200 dark:border-darkmode-400' : null, 'w-full flex']))->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</ul>