import React from 'react'; import AutoloadImagesStore from './autoload-images-store'; import Actions from './autoload-images-actions'; import {Message} from 'nylas-exports'; export default class AutoloadImagesHeader extends React.Component { static displayName = 'AutoloadImagesHeader'; static propTypes = { message: React.PropTypes.instanceOf(Message).isRequired, } render() { const {message} = this.props; if (AutoloadImagesStore.shouldBlockImagesIn(message) === false) { return (
); } return ( ); } }