@props([ 'action' => null, 'alignment' => null, 'name', 'record', 'recordAction' => null, 'recordUrl' => null, 'shouldOpenUrlInNewTab' => false, 'tooltip' => null, 'url' => null, ]) class([ 'filament-tables-cell', 'dark:text-white' => config('tables.dark_mode'), match ($alignment) { 'left' => 'text-left', 'center' => 'text-center', 'right' => 'text-right', default => null, }, ]) }} @if ($tooltip) x-data="{}" x-tooltip.raw="{{ $tooltip }}" @endif > @if ($action || ((! $url) && $recordAction)) @elseif ($url || $recordUrl) {{ $slot }} @else {{ $slot }} @endif