15 lines
316 B
JavaScript
15 lines
316 B
JavaScript
import Link from 'next/link'
|
|
|
|
const Another = () => (
|
|
<div>
|
|
<Link href="/?another=hello%2B">
|
|
<a id="hello-plus">Hello +</a>
|
|
</Link>
|
|
<br />
|
|
<Link href={{ pathname: '/', query: { complex: 'yes+' } }}>
|
|
<a id="hello-complex">Hello Complex</a>
|
|
</Link>
|
|
</div>
|
|
)
|
|
|
|
export default Another
|