React Hooks - Did I write this correctly?
Probably the biggest issue I see here is naming. In particular, isTrue is very vague - perhaps is isHovered would be better? And conventionally you use set... rather than handle... with useState so this should be setIsHovered. Similarly, I think you should rename setArg to setIconType.

Also, I don't think you can pass 2 seperate functions as a prop. You maybe want to instead do this:

&lt;div 
  onMouseEnter={() =&gt; {
    setIsHovered(true)
    setIconType('careers')
  }}
&gt;
&lt;/div&gt;


Other than that, it looks fine to me.