tatethurston / nextjs-routes

Type safe routing for Next.js
MIT License
571 stars 23 forks source link

Allow string hrefs in Link #84

Closed MariaSolOs closed 1 year ago

MariaSolOs commented 1 year ago

Adds the feature requested in #83.

Also, as another housekeeping change, I noticed that the first example on how to use Link had a Link wrapping an <a></a>, which requires the outer component to use passHref. Because this is mostly used for styling purposes and not really relevant to illustrate the use of the component, I just removed the <a></a>.