@props([
'actions' => [],
'color' => 'gray',
'icon' => null,
'tooltip' => null,
])
class([
'fi-in-entry-wrp-hint flex items-center gap-x-3 text-sm',
])
}}
>
@if (! \Filament\Support\is_slot_empty($slot))
'text-gray-500',
default => 'fi-color-custom text-custom-600 dark:text-custom-400',
},
is_string($color) ? "fi-color-{$color}" : null,
])
@style([
\Filament\Support\get_color_css_variables(
$color,
shades: [400, 600],
alias: 'infolists::components.entry-wrapper.hint.label',
),
])
>
{{ $slot }}
@endif
@if ($icon)
'text-gray-400 dark:text-gray-500',
default => 'text-custom-500 dark:text-custom-400',
},
])
@style([
\Filament\Support\get_color_css_variables(
$color,
shades: [400, 500],
alias: 'infolists::components.entry-wrapper.hint.icon',
),
])
/>
@endif
@if (count($actions))
@foreach ($actions as $action)
{{ $action }}
@endforeach
@endif