@props([ 'type' => 'info', 'dismissible' => false, 'icon' => null, ]) @php $iconClass = $icon ?? match($type) { 'success' => 'bi-check-circle', 'danger' => 'bi-x-circle', 'warning' => 'bi-exclamation-triangle', default => 'bi-info-circle', }; @endphp