({
id,
title,
path,
}: {
id: string;
title: string;
path?: string;
})
| 1 | import { Link } from "remix"; |
| 2 | |
| 3 | export function ExampleDoc({ |
| 4 | id, |
| 5 | title, |
| 6 | path, |
| 7 | }: { |
| 8 | id: string; |
| 9 | title: string; |
| 10 | path?: string; |
| 11 | }) { |
| 12 | return ( |
| 13 | <Link |
| 14 | to={`/j/${id}${path ? `?path=${path}` : ""}`} |
| 15 | className="bg-slate-900 px-4 py-2 rounded-md whitespace-nowrap text-lime-300 transition hover:text-lime-500" |
| 16 | > |
| 17 | {title} |
| 18 | </Link> |
| 19 | ); |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected