@aware(['component', 'tableName'])
$component->isBootstrap(), 'flex rounded-md shadow-sm' => $component->isTailwind(), ])> getSearchOptions() }}="search" placeholder="{{ $component->getSearchPlaceholder() }}" type="text" {{ $attributes->merge($component->getSearchFieldAttributes()) ->class([ 'block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 dark:bg-gray-700 dark:text-white dark:border-gray-600 rounded-none rounded-l-md focus:ring-0 focus:border-gray-300' => $component->isTailwind() && $component->hasSearch() && $component->getSearchFieldAttributes()['default'] ?? true, 'block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 dark:bg-gray-700 dark:text-white dark:border-gray-600 rounded-md focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50' => $component->isTailwind() && !$component->hasSearch() && $component->getSearchFieldAttributes()['default'] ?? true, 'form-control' => $component->isBootstrap() && $component->getSearchFieldAttributes()['default'] ?? true, ]) ->except('default') }} /> @if ($component->hasSearch())
$component->isBootstrap(), ])>
$component->isBootstrap(), 'inline-flex h-full items-center px-3 text-gray-500 bg-gray-50 rounded-r-md border border-l-0 border-gray-300 cursor-pointer sm:text-sm dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:hover:bg-gray-600' => $component->isTailwind(), ]) > @if($component->isTailwind()) @else @endif
@endif