@props(['notifications' => [], 'unreadCount' => 0])

{{ __('Notifications') }}

@if($unreadCount > 0) @endif
@forelse($notifications as $notification)
{{ $notification['icon'] ?? '🔔' }}

{{ $notification['title'] ?? '' }}

{{ $notification['message'] ?? '' }}

{{ $notification['time'] ?? '' }}

@if(!($notification['read'] ?? false)) @endif
@empty

{{ __('No notifications') }}

@endforelse