@props(['align' => 'right', 'width' => '48', 'contentClasses' => 'py-1 bg-white dark:bg-gray-700', 'dropdownClasses' => '']) @php switch ($align) { case 'left': $alignmentClasses = 'origin-top-left left-0'; break; case 'top': $alignmentClasses = 'origin-top'; break; case 'none': case 'false': $alignmentClasses = ''; break; case 'right': default: $alignmentClasses = 'origin-top-right right-0'; break; } switch ($width) { case '48': $width = 'w-48'; break; } @endphp