The useLinkClickHandler hook returns a click event handler for navigation when building a custom <Link> in react-router-dom.import { useHref, useLinkClickHandler, } from "react-router-dom"; const StyledLink = styled("a", { color: "fuchsia" }); const Link = React.forwardRef( ( { onCli...
The useLinkClickHandler hook returns a click event handler for navigation when building a custom <Link> in react-router-dom.import { useHref, useLinkClickHandler, } from "react-router-dom"; const StyledLink = styled("a", { color: "fuchsia" }); const Link = React.forwardRef( ( { onCli...
useLinkClickHandler Type declaration declarefunctionuseLinkClickHandler<EextendsElement=HTMLAnchorElement>(to:To,options?:{target?:React.HTMLAttributeAnchorTarget;replace?:boolean;state?:any;options?:{relative?:RelativeRoutingType};}):(event:React.MouseEvent<E,MouseEvent>)=>void;...
The useLinkClickHandler hook returns a click event handler for navigation when building a custom <Link> in react-router-dom.import { useHref, useLinkClickHandler, } from "react-router-dom"; const StyledLink = styled("a", { color: "fuchsia" }); const Link = React.forwardRef( ( { onCli...