import React from 'react'; import PropTypes from 'prop-types'; import { Icon, Modal, Grid, Button } from 'patternfly-react'; import { translate as __ } from 'foremanReact/common/I18n'; import { foremanUrl } from '../../../../../../ForemanRhCloudHelpers'; import './modal.scss'; const SyncModal = ({ show, toggleModal }) => ( {__('Token is required')}

{__(`Please go over the following steps to add a RHSM API token:`)}

{__(`1. Obtain an RHSM API token: `)} access.redhat.com
{__("2. Copy the token to 'Red Hat Cloud token' setting: ")} {__('Red Hat Cloud token ')}
{__( '3. Now you can synchronize inventory status manually, by clicking the "Sync inventory status" button.' )}

); SyncModal.propTypes = { show: PropTypes.bool.isRequired, toggleModal: PropTypes.func.isRequired, }; export default SyncModal;