A tag href with props
Hi! I wanna insert a prop into the mailto href in an a tag, but I'm not understanding how to split the
mailto:
from the prop content.
Child component:
Parent component:
The final link should, when hovered, give the value mailto:[email protected]2 Replies
don't know about react specifically, but in other frameworks the bits in the curly brackets
{}
is interpreted as JS, so these might work
Yes sir! 👏
I forgot about the outer curly braces ... 🥺 Thanx!
I forgot about the outer curly braces ... 🥺 Thanx!