Sha256: abc671d5be63af1022678453de4ffb78d18613b392d339d4f1b5ee748532be23
Contents?: true
Size: 585 Bytes
Versions: 149
Compression:
Stored size: 585 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from 'patternfly-react'; import { translate as __ } from 'foremanReact/common/I18n'; import './errorState.scss'; const ErrorState = ({ error }) => ( <div className="error_state"> <Icon className="error_icon" name="times" size="2x" /> <p>{__('Encountered an error while trying to access the server:')}</p> <p className="error_description">{error}</p> </div> ); ErrorState.propTypes = { error: PropTypes.string, }; ErrorState.defaultProps = { error: '', }; export default ErrorState;
Version data entries
149 entries across 149 versions & 2 rubygems