It is returning a string because you are assigning it to a string.
You’ll want to set it to a dynamic property, that includes a the string at the beginning of it
<a href={"mailto:" + this.props.email}>email</a>
It is returning a string because you are assigning it to a string.
You’ll want to set it to a dynamic property, that includes a the string at the beginning of it
<a href={"mailto:" + this.props.email}>email</a>