@props([ 'notifications', 'unreadNotificationsCount', ]) @if ($notifications->count())
@foreach ($notifications as $notification)
$notification->unread(), 'dark:border-gray-700' => (! $notification->unread()) && config('notifications.dark_mode'), 'dark:border-gray-800' => $notification->unread() && config('notifications.dark_mode'), ]) >
$notification->unread(), 'dark:bg-gray-700' => $notification->unread() && config('notifications.dark_mode'), ]) > {{ $this->getNotificationFromDatabaseRecord($notification)->inline() }}
@endforeach
@else @endif