interface Props { apiKey: string; onChange: (apiKey: string) => void; } export const APIKeyInput: React.FC = ({ apiKey, onChange }) => { return ( onChange(e.target.value)} /> ); };