import React from 'react'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; import { FormGroup, TextInput, Popover } from '@patternfly/react-core'; import { HelpIcon } from '@patternfly/react-icons'; const RexInterface = ({ isLoading, onChange }) => ( {__('Identifier of the Host interface for Remote execution')} } > } > onChange({ remoteExecutionInterface: e.target.value })} id="reg_rex_interface_input" isDisabled={isLoading} /> ); RexInterface.propTypes = { onChange: PropTypes.func, isLoading: PropTypes.bool, }; RexInterface.defaultProps = { onChange: undefined, isLoading: false, }; export default RexInterface;