remix-utils
Version:
This package contains simple utility functions to use with [React Router](https://reactrouter.com/).
7 lines (6 loc) • 353 B
TypeScript
import * as React from "react";
export declare function isLinkEvent(event: MouseEvent): HTMLAnchorElement | undefined;
export declare function useDelegatedAnchors(nodeRef: React.RefObject<HTMLElement | null>): void;
export declare function PrefetchPageAnchors({ children, }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;