import React, {Component, PropTypes} from 'react' import DebouncingInput from './base/DebouncingInput'; import Dropdown from './base/Dropdown'; import {METHODS} from '../lib/constants'; class UrlInput extends Component { _handleFormSubmit (e) { e.preventDefault(); this.props.sendRequest(); } render () { const {onUrlChange, onMethodChange, uniquenessKey, url, method} = this.props; return (
  
); } } UrlInput.propTypes = { sendRequest: PropTypes.func.isRequired, onUrlChange: PropTypes.func.isRequired, onMethodChange: PropTypes.func.isRequired, uniquenessKey: PropTypes.string.isRequired, url: PropTypes.string.isRequired, method: PropTypes.string.isRequired }; export default UrlInput;