@php use Filament\Support\Enums\Alignment; @endphp @props([ 'actions', 'alignment' => Alignment::End, 'record' => null, 'wrap' => false, ]) @php $actions = array_filter( $actions, function ($action) use ($record): bool { if (! $action instanceof \Filament\Tables\Actions\BulkAction) { $action->record($record); } return $action->isVisible(); }, ); if (! $alignment instanceof Alignment) { $alignment = filled($alignment) ? (Alignment::tryFrom($alignment) ?? $alignment) : null; } @endphp @if ($actions)