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_inventory_upload-1.0.0 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta7 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta6 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta5 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta4 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta3 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
foreman_inventory_upload-1.0.0.beta2 webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js