A progressively enhanced <a href> wrapper to enable navigation with client-side routing.

import { Link } from "react-router";

<Link to="/dashboard">Dashboard</Link>;

<Link
to={{
pathname: "/some/path",
search: "?query=string",
hash: "#hash",
}}
/>

Properties

$$typeof: symbol
defaultProps?: Partial<LinkProps & RefAttributes<HTMLAnchorElement>>
displayName?: string
propTypes?: WeakValidationMap<LinkProps & RefAttributes<HTMLAnchorElement>>