Dropdown link component target attribute added

This commit is contained in:
Enes Sacid Büker
2023-03-21 17:28:13 +03:00
committed by GitHub
parent 48d9e7fd64
commit a2f882a36e
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<div class="w-full flex items-center text-purple px-2 h-9 leading-9 whitespace-nowrap" {{ $attributes }}>
<a href="{!! $href !!}" class="w-full h-full flex items-center rounded-md px-2 text-sm font-normal hover:bg-lilac-100">
<a href="{!! $href !!}" target="{!! $target !!}" class="w-full h-full flex items-center rounded-md px-2 text-sm font-normal hover:bg-lilac-100">
{!! $slot !!}
</a>
</div>