about summary refs log tree commit diff
path: root/src/lib/types.tsx
blob: 00ab90943c72ad44cb2656bd801bc91b8729841f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export type FSTracerFile = {
  id: number;
  user_id: string;
  absolute_path: string;
  contents: string;
  timestamp: string;
}

interface FileComponentProps {
  file: FSTracerFile
}

export default function FileComponent(props: FileComponentProps) {
  return (
    <p className="underline">file: {props.file.absolute_path}</p>
  )
}