@php
use Filament\Infolists\Components\Tabs\Tab;
$isContained = $isContained();
@endphp
merge([
'id' => $getId(),
], escape: false)
->merge($getExtraAttributes(), escape: false)
->merge($getExtraAlpineAttributes(), escape: false)
->class([
'fi-in-tabs flex flex-col',
'fi-contained rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10' => $isContained,
])
}}
>
@foreach ($getChildComponentContainer()->getComponents() as $tab)
@php
$tabId = $tab->getId();
@endphp
{{ $tab->getLabel() }}
@endforeach
@foreach ($getChildComponentContainer()->getComponents() as $tab)
{{ $tab }}
@endforeach