import { Link as ChakraLink } from "@chakra-ui/react"; import { createLink, LinkComponent } from "@tanstack/react-router"; import * as React from "react"; interface ChakraLinkProps extends Omit, "href"> {} const ChakraLinkComponent = React.forwardRef< HTMLAnchorElement, ChakraLinkProps >((props, ref) => { return ; }); const CreatedLinkComponent = createLink(ChakraLinkComponent); export const Link: LinkComponent = (props) => { return ( ); };