import React, { Fragment } from 'react'; import { FieldLevelHelp } from 'patternfly-react'; import PropTypes from 'prop-types'; import CommonForm from 'foremanReact/components/common/forms/CommonForm'; const InputField = ({ name, label, info, value, onChange, required, type, disabled, options, checked, error, }) => { const renderOptions = opts => opts.map(option => ); let renderComponent; switch (type) { case 'textarea': renderComponent = (