@props(['active']) @php $classes = $active ?? false ? 'block w-full px-4 py-2 text-left text-sm leading-5 text-yellow-500 hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 transition duration-150 ease-in-out' : 'block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-hidden focus:bg-gray-100 transition duration-150 ease-in-out'; @endphp merge(['class' => $classes]) }}> {{ $slot }}