Http config is post config

pull/2252/head
deniz kusefoglu 2017-11-13 20:40:49 -08:00
parent e23d03a723
commit 30bb530a60
1 changed files with 0 additions and 35 deletions

View File

@ -1,35 +0,0 @@
import React, {PropTypes} from 'react'
import EndpointInput from 'src/kapacitor/components/EndpointInput'
const HttpConfig = ({selectedEndpoint, handleModifyEndpoint}) => {
return (
<div className="rule-section--row rule-section--border-bottom">
<p>Alert Parameters:</p>
<div className="optional-alert-parameters">
<EndpointInput
selectedEndpoint={selectedEndpoint}
handleModifyEndpoint={handleModifyEndpoint}
fieldName="url"
fieldDisplay="URL"
placeholder="Ex: http://example.com/api/alert"
/>
<EndpointInput
selectedEndpoint={selectedEndpoint}
handleModifyEndpoint={handleModifyEndpoint}
fieldName="url"
fieldDisplay="URL"
placeholder="Ex: http://example.com/api/alert"
/>
</div>
</div>
)
}
const {func, shape} = PropTypes
HttpConfig.propTypes = {
selectedEndpoint: shape({}).isRequired,
handleModifyEndpoint: func.isRequired,
}
export default HttpConfig