@props([
'label' => false,
'icon' => false,
'error' => false,
'disabled' => false,
])
@if ($label)
@endif
@if ($icon)
@endif
merge([
'class' =>
'w-full ' .
($icon ? 'pr-10 pl-4' : 'px-4') .
' py-3.5 bg-white border-gray-200 rounded-xl focus:ring-2 focus:ring-wareed-red focus:border-wareed-red transition-all shadow-sm placeholder-gray-300 disabled:opacity-50 disabled:bg-gray-50',
]) !!}>
@if ($error)
{{ $error }}
@endif