interface FormSelectProps { currentValue?: string; onChange(newValue: string): void; values: T[]; keyProperty: keyof T; titleProperty: keyof T; } export default function FormSelect({ currentValue, values, onChange, keyProperty, titleProperty }: FormSelectProps) { return ( ) }