pianello-api/resources/views/components/base/disclosure/group.blade.php

7 lines
290 B
PHP
Raw Normal View History

@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 }}>