9 lines
299 B
PHP
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>
|