type FileInfoProps = { path: string format: string size: string modifiedAt: string } export function FileInfo(props: FileInfoProps) { return ( Path: {props.path} Format: {props.format} Size: {props.size} Modified: {props.modifiedAt} ) }