Is there a way to open a link in a new tab using Link Next.Js component without using the a tag ? I have tried the following but it did not work with me
<Link target="_blank" href={URL}></Link
The above code still opens the link at the same page.
I have also tried this
<Link href={URL}>
<a target="_blank"></a>
</Link>
this one gave me an error too "Multiple children were passed to with href"
so is there a way around for that ?