Sha256: 1e85c956521cb2d1006c287ae15799eb41901ad7d1e3c60e59c5e286ea2254d0
Contents?: true
Size: 710 Bytes
Versions: 158
Compression:
Stored size: 710 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; import { MessageDialog } from 'patternfly-react'; const InputsErrorsDialog = ({ show, showErrorDialog, }) => ( <MessageDialog show={show} title={__('Editing Entitlements')} secondaryContent={__('Some of your inputs contain errors. Please update them and save your changes again.')} primaryAction={() => showErrorDialog(false)} onHide={() => showErrorDialog(false)} primaryActionButtonContent="Ok" />); InputsErrorsDialog.propTypes = { show: PropTypes.bool.isRequired, showErrorDialog: PropTypes.func.isRequired, }; export default InputsErrorsDialog;
Version data entries
158 entries across 158 versions & 1 rubygems