import React from 'react'; import PropTypes from 'prop-types'; import { TextListItem, TextListItemVariants, TextInput, TextArea, } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I18n'; import '../../../../lib/EditableTextInput/editableTextInput.scss'; const StaticDetail = ({ value, label, id, onChange, isTextArea, validated, isRequired, }) => { const finalLabel = isRequired ? __(`${label} *`) : __(`${label}`); return ( {finalLabel} {isTextArea ? (