- {overlayIcon && (
+ {inputBoxWrapperIcon && (
{
overlayAction();
}
- : () => null
+ : () => setToggleTextInput(!toggleTextInput)
}
id={overlayId}
size={"small"}
@@ -222,7 +237,7 @@ const InputBoxWrapper = ({
disableRipple={false}
disableTouchRipple={false}
>
- {overlayIcon}
+ {inputBoxWrapperIcon}
)}