Sha256: b694b29476e146484614bd4a4842b1b17096de387345066cef6cf5fa82de0fd1

Contents?: true

Size: 451 Bytes

Versions: 6

Compression:

Stored size: 451 Bytes

Contents

import React from 'react';
import { Button, Icon } from 'patternfly-react';
import { DOCS_BUTTON_TEXT } from '../../../../ForemanInventoryConstants';
import { getInventoryDocsUrl } from '../../../../ForemanInventoryHelpers';

const DocsButton = () => (
  <Button
    href={getInventoryDocsUrl()}
    target="_blank"
    rel="noopener noreferrer"
  >
    <Icon type="pf" name="help" />
    {DOCS_BUTTON_TEXT}
  </Button>
);

export default DocsButton;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
foreman_rh_cloud-1.0.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
foreman_rh_cloud-0.9.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
foreman_rh_cloud-0.9.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
foreman_rh_cloud-1.0.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js