@php $type = $type ?? 'info'; // success, danger, warning, info $dismissible = $dismissible ?? true; $icon = $icon ?? ($type === 'danger' ? 'exclamation-triangle-fill' : ($type === 'success' ? 'check-circle-fill' : ($type === 'warning' ? 'exclamation-circle-fill' : 'info-circle-fill'))); @endphp