Sha256: d263ef5e02b161622d5b3e047a34522e30c5c5d0d7825e12234e856ed66a770e

Contents?: true

Size: 611 Bytes

Versions: 58

Compression:

Stored size: 611 Bytes

Contents

import React from 'react';
import EmptyState from 'foremanReact/components/common/EmptyState/EmptyStatePattern';

import { EmptyStateIcon } from '@patternfly/react-core';
import { ExclamationCircleIcon } from '@patternfly/react-icons';
import { global_danger_color_200 as dangerColor } from '@patternfly/react-tokens';
import { translate as __ } from 'foremanReact/common/I18n';

const ErrorState = props => {
  const icon = (
    <EmptyStateIcon icon={ExclamationCircleIcon} color={dangerColor.value} />
  );
  return <EmptyState header={__('Error!')} icon={icon} {...props} />;
};

export default ErrorState;

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 webpack/components/ErrorState.js
foreman_ansible-15.0.1 webpack/components/ErrorState.js
foreman_ansible-15.0.0 webpack/components/ErrorState.js
foreman_ansible-14.2.2 webpack/components/ErrorState.js
foreman_ansible-14.2.1 webpack/components/ErrorState.js
foreman_ansible-13.0.7 webpack/components/ErrorState.js
foreman_ansible-14.2.0 webpack/components/ErrorState.js
foreman_ansible-14.1.1 webpack/components/ErrorState.js
foreman_ansible-14.1.0 webpack/components/ErrorState.js
foreman_ansible-13.0.5 webpack/components/ErrorState.js
foreman_ansible-14.0.0 webpack/components/ErrorState.js
foreman_ansible-13.0.4 webpack/components/ErrorState.js
foreman_ansible-13.0.3 webpack/components/ErrorState.js
foreman_ansible-13.0.2 webpack/components/ErrorState.js
foreman_ansible-13.0.1 webpack/components/ErrorState.js
foreman_ansible-13.0.0 webpack/components/ErrorState.js
foreman_ansible-12.0.7 webpack/components/ErrorState.js
foreman_ansible-10.4.4 webpack/components/ErrorState.js
foreman_ansible-7.1.8 webpack/components/ErrorState.js
foreman_ansible-12.0.6 webpack/components/ErrorState.js