_ = require 'underscore-plus' React = require 'react' {Actions, Utils} = require 'nylas-exports' {RetinaImg} = require 'nylas-component-kit' class ArchiveButton extends React.Component @displayName: "ArchiveButton" render: => _onArchive: (e) => return unless Utils.nodeIsVisible(e.currentTarget) Actions.archive() e.stopPropagation() module.exports = ArchiveButton