@use('SolutionForest\TabLayoutPlugin\Components\Tabs') @use('SolutionForest\TabLayoutPlugin\Components\Tabs\Tab') @php $livewireId = $this->getId(); $currentTabId = $getId(); $generatedLivewireKey = "{$livewireId}." . Tabs::class . ".container"; @endphp
merge($getExtraAttributes()) ->class([ 'filament-tabs-component rounded-xl shadow-sm border border-gray-300 bg-white', 'dark:bg-gray-800 dark:border-gray-700', ]) ->merge([ "id=\"{$currentTabId}\"" => filled($currentTabId), "wire:key=\"{$generatedLivewireKey}\"", ]) }} {{ $getExtraAlpineAttributeBag() }} >
@foreach ($getChildComponentContainer()->getComponents() as $tab) @php $tabUrl = $tab->getUrl(); @endphp @endforeach
@foreach ($getChildComponentContainer()->getComponents() as $tab) {{ $tab }} @endforeach