• Preparing search index...
  • The search index is not available
@xarc/react-router
  • @xarc/react-router
  • browser
  • ReactRouterDom
  • matchPath

Function matchPath

  • matchPath<ParamKey, Path>(pattern, pathname): PathMatch<ParamKey> | null
  • Performs pattern matching on a URL pathname and returns information about the match.

    Type Parameters

    • ParamKey extends string
    • Path extends string

    Parameters

    • pattern: Path | PathPattern<Path>
    • pathname: string

    Returns PathMatch<ParamKey> | null

    See

    https://reactrouter.com/utils/match-path

    • Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:387

Settings

Member Visibility

Theme

@xarc/react-router
  • Loading...

Generated using TypeDoc