'use strict';

var index_esm = require('./index.esm-c1e16606.js');
var React = require('react');
require('./iconBase-be4097c0.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

var PdfDownload = function PdfDownload(props) {
  return React__default['default'].createElement(
    'div',
    { className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
    React__default['default'].createElement(
      'a',
      { rel: 'noopener', href: props.issueInfo.asset.url, target: '_blank' },
      React__default['default'].createElement(index_esm.MdPictureAsPdf, { style: { fontSize: '65px', color: '#ff0000' } }),
      React__default['default'].createElement(
        'span',
        null,
        'Click to download this publication issue.'
      )
    )
  );
};

module.exports = PdfDownload;
