import { detectFormat } from "@/utils/file-detector"; type FilePickerProps = { value: string; onChange: (value: string) => void; }; export function FilePicker(props: FilePickerProps) { const format = detectFormat(props.value); return ( Format: {format} ); }