{
inputRef.current?.focus();
}}
>
{!!icon && icon}
{
setInputFocus(true);
props.onFocus?.(e);
}}
onBlur={(e) => {
setInputFocus(false);
props.onBlur?.(e);
}}
onChange={(e) => {
setValue(e.target.value);
props.onChange?.(e);
}}
ref={inputRef}
/>
{label && (
)}
{!!rightIcon && rightIcon}