onlyProps([ 'color' => 'gray', 'icon' => null, 'iconSize' => IconSize::Medium, 'tag' => 'div', ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> exceptProps([ 'color' => 'gray', 'icon' => null, 'iconSize' => IconSize::Medium, 'tag' => 'div', ]); ?> 'gray', 'icon' => null, 'iconSize' => IconSize::Medium, 'tag' => 'div', ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> < class([ 'fi-dropdown-header flex w-full gap-2 p-3 text-sm', is_string($color) ? "fi-dropdown-header-color-{$color}" : null, ]) ->style([ \Filament\Support\get_color_css_variables( $color, shades: [ 400, ...(filled($icon) ? [500] : []), 600, ], ) => $color !== 'gray', ])); ?> > 'filament::components.icon','data' => ['icon' => $icon,'class' => \Illuminate\Support\Arr::toCssClasses([ 'fi-dropdown-header-icon', match ($iconSize) { IconSize::Small, 'sm' => 'h-4 w-4', IconSize::Medium, 'md' => 'h-5 w-5', IconSize::Large, 'lg' => 'h-6 w-6', default => $iconSize, }, match ($color) { 'gray' => 'text-gray-400 dark:text-gray-500', default => 'text-custom-500 dark:text-custom-400', }, ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::icon'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ 'fi-dropdown-header-icon', match ($iconSize) { IconSize::Small, 'sm' => 'h-4 w-4', IconSize::Medium, 'md' => 'h-5 w-5', IconSize::Large, 'lg' => 'h-6 w-6', default => $iconSize, }, match ($color) { 'gray' => 'text-gray-400 dark:text-gray-500', default => 'text-custom-500 dark:text-custom-400', }, ]))]); ?> renderComponent(); ?> >