@props([ 'actions' => [], 'details' => [], 'title', 'rawTitle', 'group', 'isLast', 'url', 'hasSearchItemTree'=>true, 'hasExpandedUrlTarget' ])
  • class([ 'fi-global-search-result scroll-mt-9 mr-3 my-1 dark:bg-white/5 bg-gray-50 py-2 px-3 duration-300 transition-colors rounded-lg hover:bg-gray-100 dark:hover:bg-white/10 flex justify-between items-center', ]) }} role="option"> $hasExpandedUrlTarget, 'pe-4 ps-4 pt-4' => $actions, 'p-3' => !$actions, ]) >

    $hasSearchItemTree, ])> @if ($hasSearchItemTree) @unless ($isLast) @else @endunless @endif {{ str($title)->sanitizeHtml()->toHtmlString() }}

    @if ($details)
    @foreach ($details as $label => $value)
    @if ($isAssoc ??= \Illuminate\Support\Arr::isAssoc($details))
    {{ $label }}:
    @endif
    {{ $value }}
    @endforeach
    @endif
    @if ($actions) @endif