import * as PropTypes from 'prop-types'; import * as React from 'react'; import FontAwesome = require('react-fontawesome'); import { Button } from 'react-bootstrap'; export interface Props { name?: React.ReactNode; size?: string; img?: React.ReactNode; icon?: string; onNameClick?: React.MouseEventHandler; onDownloadClick?: React.MouseEventHandler; }; const propTypes = { name: PropTypes.node, size: PropTypes.string, img: PropTypes.node, icon: PropTypes.string, // font awesome icon name onNameClick: PropTypes.func, onDownloadClick: PropTypes.func, }; const handleClick = (cb?: React.MouseEventHandler) => { return (event: React.MouseEvent ); }; MailboxAttachment.propTypes = propTypes; export default MailboxAttachment;