MCPcopy
hub / github.com/d3george/slash-admin / RouterLinkProps

Interface RouterLinkProps

src/routes/components/router-link.tsx:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected