React Routeways - API Reference • Docs
React Routeways - API Reference / NavLink
Function: NavLink()
NavLink<
T
>(props
):ReactElement
A wrapper over react-router-dom’s <NavLink>
component, with the difference
that the to
prop expects a Routeway
route instead of a path string.
If the route requires path variables and/or query parameters, you can pass
them over the params
prop.
Type Parameters
• T extends Routeway
Parameters
• props: NavLinkProps
<T
>
Returns
ReactElement