import type { BaseFieldControlProps } from "../types" import { Input } from "@/shared/components/ui/input" export type FileInputFieldProps = BaseFieldControlProps & { accept?: string } export function FileInputField({ // value intentionally unused — file inputs cannot be controlled onBlur, name, disabled, invalid, accept, onChange, }: FileInputFieldProps) { return ( onChange(e.target.files?.[0] ?? null)} /> ) }