@props(['align' => 'right', 'width' => '48', 'contentClasses' => 'bg-white dark:bg-slate-800', 'dropdownClasses' => '']) @php switch ($align) { case 'left': $alignmentClasses = 'origin-top-left left-0'; break; case 'top': $alignmentClasses = 'origin-top'; break; case 'bottom': $alignmentClasses = 'origin-bottom bottom-14 right-0'; 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; case '56': $width = 'w-56'; break; case '80': $width = 'w-80'; break; } @endphp