Sha256: 930e45977017e526ce96a6fc4b4d6011f43380a9b49662d1e77bd5405a2a4323
Contents?: true
Size: 650 Bytes
Versions: 6
Compression:
Stored size: 650 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; 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
6 entries across 6 versions & 1 rubygems