Introduction
TheLink
component is used to navigate between pages. You can link to internal or external pages.
Internal links
To link to an internal page, use theto
prop pointing to a relative path. For example, to link to the about page, use the following code
newTab
prop.
External links
To link to an external page, use the sameto
prop but include the full URL you want to link to.
newTab
prop to false
.