merge($getExtraAttributes())->class([
'filament-forms-tabs-component rounded-xl border border-gray-300 bg-white shadow-sm',
'dark:border-gray-700 dark:bg-gray-800' => config('forms.dark_mode'),
])
}}
{{ $getExtraAlpineAttributeBag() }}
wire:key="{{ $this->id }}.{{ $getStatePath() }}.{{ \Filament\Forms\Components\Tabs::class }}.container"
wire:ignore.self
>
config('forms.dark_mode'),
])
>
@foreach ($getChildComponentContainer()->getComponents() as $tab)
@php
$icon = $tab->getIcon();
$iconPosition = $tab->getIconPosition();
$iconColor = $tab->getIconColor();
$iconColorClasses = \Illuminate\Support\Arr::toCssClasses(
match ($iconColor) {
'danger' => ['text-danger-700', 'dark:text-danger-500' => config('tables.dark_mode')],
'primary' => ['text-primary-700', 'dark:text-primary-500' => config('tables.dark_mode')],
'success' => ['text-success-700', 'dark:text-success-500' => config('tables.dark_mode')],
'warning' => ['text-warning-700', 'dark:text-warning-500' => config('tables.dark_mode')],
'secondary' => ['text-gray-700', 'dark:text-gray-300' => config('tables.dark_mode')],
default => [$iconColor],
},
);
@endphp
@endforeach
@foreach ($getChildComponentContainer()->getComponents() as $tab)
{{ $tab }}
@endforeach