We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0718590 commit e17f6f4Copy full SHA for e17f6f4
docs/docs/linking-to-a-route.md
@@ -38,7 +38,7 @@ We provide a default `Link` component, but you can also create yours if needed u
38
import { useLinkProps } from "@swan-io/chicane";
39
import cx from "classnames";
40
41
-const Link = ({ className, activeClassName, to, ...props }) => {
+const Link = ({ to, replace, className, activeClassName, ...props }) => {
42
const { active, onClick } = useLinkProps({ href: to, replace });
43
44
return (
0 commit comments