@php
$notifications = $this->getNotifications();
$unreadNotificationsCount = $this->getUnreadNotificationsCount();
@endphp
getPollingInterval())
wire:poll.{{ $pollingInterval }}
@endif
class="flex"
>
@if ($trigger = $this->getTrigger())
{{ $trigger->with(['unreadNotificationsCount' => $unreadNotificationsCount]) }}
@endif
@if ($broadcastChannel = $this->getBroadcastChannel())
@endif