Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

169
Views
NavLink with externalLink
<NavLink target="_blank" to={{ pathname: "mailto:test@gmail.com" }}>
   <h3>Say hi...</h3>
</NavLink>
<NavLink
          style={{ color: "inherit" }}
          to={{ pathname: "https://github.com/user" }}
          target="_blank"
        >
          <LinkedIn width={30} height={25} fill="currentColor" />
        </NavLink>

Here I am using NavLink to reach a external Link. But when I click on the link it redirects to http://localhost:3000/mailto:test@gmail.com. using a instead of NavLink is working fine.

Is there any way that it can work with NavLink.

Thanks in Advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try sth. like this

<NavLink as="a" target="_blank" href="mailto:test@gmail.com">
   <h3>Say hi...</h3>
</NavLink>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!