Sha256: cc444d0da80b38f90f84b9667c19071df283097bb2b9cadb0b01c5fed3a6c75b
Contents?: true
Size: 538 Bytes
Versions: 21
Compression:
Stored size: 538 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { Grid, Button, Icon } from 'patternfly-react'; import { noop } from 'foremanReact/common/helpers'; 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
21 entries across 21 versions & 1 rubygems