import React from 'react'; import InputWithLabel from './InputWithLabel'; import type { TConfigProps } from '~/common'; import { useLocalize } from '~/hooks'; const OtherConfig = ({ userKey, setUserKey, endpoint }: TConfigProps) => { const localize = useLocalize(); return ( ) => setUserKey(e.target.value ?? '')} label={localize('com_endpoint_config_key_name')} /> ); }; export default OtherConfig;