MCPcopy
hub / github.com/TanStack/router / InterpolatePathLink

Function InterpolatePathLink

packages/solid-router/tests/link.bench.tsx:37–44  ·  view source on GitHub ↗
({
  to,
  params,
  children,
}: Solid.PropsWithChildren<LinkProps>)

Source from the content-addressed store, hash-verified

35 }
36
37const InterpolatePathLink = ({
38 to,
39 params,
40 children,
41}: Solid.PropsWithChildren<LinkProps>) => {
42 const href = interpolatePath({ path: to, params }).interpolatedPath
43 return <a href={href}>{children}</a>
44}
45
46const BuildLocationLink = ({
47 children,

Callers

nothing calls this directly

Calls 1

interpolatePathFunction · 0.90

Tested by

no test coverage detected