@props(['tone' => 'info']) @php $icon = ['success' => 'check', 'warning' => 'bell', 'danger' => 'x', 'info' => 'bell'][$tone] ?? 'bell'; @endphp
merge(['class' => 'alert alert-'.$tone, 'role' => $tone === 'danger' ? 'alert' : 'status']) }}>
{{ $slot }}