Sha256: 4f9bf535c2e551c74ff5bba2aa736f2be80d812b22fc9dfe10b7736f39d3a6ec

Contents?: true

Size: 492 Bytes

Versions: 67

Compression:

Stored size: 492 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import { noop, Grid, Button, Icon } from 'patternfly-react';
import './fileDownload.scss';

const FileDownload = ({ onClick }) => (
  <Grid.Col sm={12}>
    <Button onClick={onClick} className="download-button">
      Download Report <Icon name="download" />
    </Button>
  </Grid.Col>
);

FileDownload.propTypes = {
  onClick: PropTypes.func,
};

FileDownload.defaultProps = {
  onClick: noop,
};

export default FileDownload;

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
foreman_rh_cloud-2.0.18.1 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.18 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.18 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.17 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-3.0.17 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.16 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-3.0.16 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.15 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.14 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-0.9.14 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-0.9.13.1 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-1.0.13.1 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-2.0.13.1 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_rh_cloud-0.9.13 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js