@props([ 'prefixActions' => [], 'suffixActions' => [], ]) @php $prefixActions = array_filter( $prefixActions, fn (\Filament\Infolists\Components\Actions\Action $prefixAction): bool => $prefixAction->isVisible(), ); $suffixActions = array_filter( $suffixActions, fn (\Filament\Infolists\Components\Actions\Action $suffixAction): bool => $suffixAction->isVisible(), ); $affixActionsClasses = 'flex items-center gap-3 self-stretch'; @endphp
class(['fi-in-affixes flex']) }} > @if (count($prefixActions))
@foreach ($prefixActions as $prefixAction) {{ $prefixAction }} @endforeach
@endif
{{ $slot }}
@if (count($suffixActions))
@foreach ($suffixActions as $suffixAction) {{ $suffixAction }} @endforeach
@endif