rsnext/test/integration/query-with-encoding/pages/plus.js
2020-01-21 09:32:27 -05:00

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