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

Commit

Permalink
Conversion Hosts: add initial button for empty state screen
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Jan 28, 2019
1 parent 6b37e54 commit edb350e
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
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 edb350e

Please sign in to comment.