about summary refs log tree commit diff
path: root/src/components/Other/FSTracerFile.tsx
blob: 2bc58b4138c4b48b7f25f00e8f98a4e3d9155fbc (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.id)}`}>
			<p className="underline">file: {props.file.absolute_path}</p>
		</a>
	)
}