blob: 61c8e3514dc3f2c1f435ca0e94fb560e81d53454 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { FSTracerFile } from "../../lib/types"
interface FileComponentProps {
file: FSTracerFile
}
export default function FileComponent(props: FileComponentProps) {
return (
<a href={`/file/${encodeURIComponent(props.file.absolute_path)}`}>
<p className="underline">file: {props.file.absolute_path}</p>
</a>
)
}
|