import React from 'react'; import Dropzone from 'containers/Dropzone'; import PublishDetails from 'containers/PublishDetails'; import PublishStatus from 'containers/PublishStatus'; import PublishDisabledMessage from 'containers/PublishDisabledMessage'; class PublishTool extends React.Component { render () { if (this.props.disabled) { console.log('publish is disabled'); return ( ); } else { console.log('publish is not disabled'); if (this.props.file) { if (this.props.status) { return ( ); } else { return ; } } return ; } } }; export default PublishTool;