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

6 lines
290 B
PHP

@props(['as' => 'div', 'selectedIndex' => null, 'variant' => null])
<{{ $as }}
data-tw-merge
{{ $attributes->class(merge(['accordion', $attributes->whereStartsWith('class')->first()]))->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>{{ $slot }}</{{ $as }}>