@props([ 'id', 'title' => 'Confirm Action', 'message' => 'Are you sure you want to proceed? This action cannot be undone.', 'actionUrl' => '#', 'method' => 'DELETE', 'buttonText' => 'Confirm', 'buttonColor' => 'red', ]) @php $colorClass = match($buttonColor) { 'green' => 'btn-green', 'blue' => 'btn-blue', 'orange' => 'btn-orange', default => 'btn-red', }; @endphp @push('scripts') @endpush