| 2 | import type { LinkProps } from "react-router"; |
| 3 | |
| 4 | interface RouterLinkProps extends Omit<LinkProps, "to"> { |
| 5 | href: string; |
| 6 | ref?: React.Ref<HTMLAnchorElement>; |
| 7 | } |
| 8 | |
| 9 | export const RouterLink: React.FC<RouterLinkProps> = ({ href, ...props }) => ( |
| 10 | <Link ref={props.ref} to={href} {...props} /> |
nothing calls this directly
no outgoing calls
no test coverage detected