UNPKG

@stoplight/elements-core

Version:
12 lines (11 loc) • 327 B
import * as React from 'react'; import { RouterType } from '../types'; interface RouterProps { basename?: string; location?: string; } export declare const useRouter: (router: RouterType, basePath: string, staticRouterPath?: string) => { Router: React.ComponentType<{}>; routerProps: RouterProps; }; export {};