API Documentation • Docs
API Documentation / useLink
Function: useLink()
useLink<
Name
>(props
):UseLinkReturn
<Name
>
Returns the internal behavior of a RouterLink without the rendering part.
Type Parameters
• Name extends string
| symbol
= string
| symbol
Parameters
• props: UseLinkOptions
<Name
>
a to
location and an optional replace
flag
Returns
UseLinkReturn
<Name
>