UNPKG

pathpunk

Version:

A react component based router with most of the functionalities of an SPA router

11 lines (10 loc) 336 B
declare const useNavigate: () => { back: () => void; forward: () => void; breadCrumbs: string[]; pathname: string | undefined; push: (path: string, options?: import("../types").PushOptions | undefined) => void; reload: () => void; state: import("../types").RouterState | null; }; export default useNavigate;