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