UNPKG

@kentcdodds/tmp-remix-utils

Version:

This package contains simple utility functions to use with [Remix.run](https://remix.run).

13 lines (12 loc) 326 B
import * as React from "react"; export declare function isLinkEvent( event: MouseEvent ): HTMLAnchorElement | undefined; export declare function useDelegatedAnchors( nodeRef: React.RefObject<HTMLElement> ): void; export declare function PrefetchPageAnchors({ children, }: { children: React.ReactNode; }): JSX.Element;