@props([ 'id' => 'confirmModal', 'title' => 'Are you sure?', 'message' => 'This action cannot be undone.', 'confirmText' => 'Delete', 'cancelText' => 'Cancel', 'eyebrow' => 'Confirm', 'tone' => 'danger', // danger | warning | info ]) {{-- Reusable confirm modal — visually mirrors the chat page's #confirm-modal block (resources/views/user/chat/index.blade.php). The markup below is a copy-paste of that block with the static title/message/buttons swapped for slot props, and a couple of data-* hooks added so window.confirmDialog() (in app.js) can bind cancel + accept handlers. Usage: // …then in JS: window.confirmDialog({ title: 'Delete contact?', onConfirm: () => … }); --}}