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-12.0.5 webpack/components/ErrorState.js
foreman_ansible-10.4.3 webpack/components/ErrorState.js
foreman_ansible-12.0.4 webpack/components/ErrorState.js
foreman_ansible-10.4.2 webpack/components/ErrorState.js
foreman_ansible-12.0.3 webpack/components/ErrorState.js
foreman_ansible-12.0.2 webpack/components/ErrorState.js
foreman_ansible-12.0.1 webpack/components/ErrorState.js
foreman_ansible-12.0.0 webpack/components/ErrorState.js
foreman_ansible-11.2.1 webpack/components/ErrorState.js
foreman_ansible-7.1.7 webpack/components/ErrorState.js
foreman_ansible-11.2.0 webpack/components/ErrorState.js
foreman_ansible-11.1.2 webpack/components/ErrorState.js
foreman_ansible-7.1.6 webpack/components/ErrorState.js
foreman_ansible-11.1.1 webpack/components/ErrorState.js
foreman_ansible-10.4.1 webpack/components/ErrorState.js
foreman_ansible-7.1.5 webpack/components/ErrorState.js
foreman_ansible-11.1.0 webpack/components/ErrorState.js
foreman_ansible-10.4.0 webpack/components/ErrorState.js
foreman_ansible-10.3.0 webpack/components/ErrorState.js
foreman_ansible-11.0.0 webpack/components/ErrorState.js