Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #864 from mzazrivec/add_empty_state_for_coversion_…
Browse files Browse the repository at this point in the history
…hosts

Conversion Hosts: add initial button for empty state screen
  • Loading branch information
mturley committed Jan 29, 2019
2 parents f6ecbbc + bf296e3 commit eab39c4
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button } from 'patternfly-react';
import ShowWizardEmptyState from '../../../../common/ShowWizardEmptyState/ShowWizardEmptyState';

const ConversionHostsEmptyState = ({ showConversionHostWizard }) => (
<React.Fragment>
<h2>TODO: render an EmptyState here</h2>;
<Button onClick={showConversionHostWizard}>{__('Configure Conversion Host')}</Button>
<ShowWizardEmptyState
description={
__('Select one or more hosts to be configured as IMS conversion hosts.') // prettier-ignore
}
showWizardAction={showConversionHostWizard}
buttonText={__('Configure Conversion Host')}
buttonHref=""
className="mappings"
/>
</React.Fragment>
);

Expand Down

0 comments on commit eab39c4

Please sign in to comment.