Sha256: 908dcdf9215d216a8987f4c74516b038ee9bdab0a8209175591a64aaafc1cbea

Contents?: true

Size: 730 Bytes

Versions: 25

Compression:

Stored size: 730 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import { translate as __ } from 'foremanReact/common/I18n';
import ForemanEmptyState from 'foremanReact/components/common/EmptyState';

const EmptyState = props => {
  const description = __(
    'No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned.'
  );
  const documentation = {
    url: props.docUrl,
  };
  return (
    <ForemanEmptyState
      header="Foreman Discovery"
      description={description}
      icon="gears"
      iconType="fa"
      documentation={documentation}
    />
  );
};

EmptyState.propTypes = {
  docUrl: PropTypes.string.isRequired,
};

export default EmptyState;

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
foreman_discovery-21.0.5 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-21.0.4 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-21.0.3 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-21.0.2 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.5 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.4 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-21.0.1 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.3 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-21.0.0 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.2 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-20.0.1 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-20.0.0 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.1 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-19.0.0 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-18.0.5 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-18.0.4 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-18.0.3 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-17.0.5 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-18.0.2 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js
foreman_discovery-17.0.4 webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js