+ {showSearchIcon && (
+
+
+
+ )}
({
className={cs(
"w-full px-4 py-[13px] bg-white rounded-lg border text-base font-normal font-['Inter'] leading-normal focus:outline-none focus:ring-2 focus:ring-[#ffc222] focus:border-transparent",
{
+ "pl-10 pr-4": showSearchIcon,
+ "px-4": !showSearchIcon,
"border-[#d32a1b]": error,
"border-[#c7ccd0]": !error,
"text-[#1f1f20]": field.value,
"text-[#788788]": !field.value,
},
+ "py-[13px]",
)}
placeholder={placeholder}
disabled={disabled}