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