({
to,
params,
children,
}: Solid.PropsWithChildren<LinkProps>)
| 35 | } |
| 36 | |
| 37 | const 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 | |
| 46 | const BuildLocationLink = ({ |
| 47 | children, |
nothing calls this directly
no test coverage detected