The Link
component navigates the user to the specified path when clicked. The user can tell the webpage to go to a certain path using the Link
component. It works like <a>
tag of HTML.
<Link to="PATH">Display Name</Link>
<Link to="/">Go to Home</Link>
<Link to="/about">Go to About</Link>
<Link to="/contact">Go to Contact</Link>