squaredev-io/matte

Link component helper for Next.js

Opened this issue · 0 comments

Matte is router-library agnostic. In cases where a Link is needed, e.g. when a list item should navigate to a link when clicked, a router component is passed to the component itself. It is expected that this Link component has a to prop. For Next.js however this is not the case, so we should provide an adapter, so people can use it, like MUI does here. This adapter should live under the utilities folder.