rsnext/test/integration/query-with-encoding/pages/plus.js

16 lines
316 B
JavaScript
Raw Normal View History

2020-01-21 15:32:27 +01:00
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