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