@props([ 'confirmText' => __mc('Are you sure?'), 'confirmLabel' => __mc('Confirm'), 'onConfirm' => '() => $refs.form.submit()', 'action' => null, 'method' => 'POST', 'class' => '', 'disabled' => false, 'danger' => false, ])
except('class') }} x-data x-ref="form" > @csrf @method($method)