import React from 'react' import { connect } from 'react-redux' import { Editor } from 'draft-js' import { setCurrentChapter, setAnnotationNote, toggleLoading } from '../actions' import DocumentTitle from '../components/documentTitle' import LoadingSpinner from '../components/loadingSpinner' const JoyceReaderContent = ({currentDocument, highlightToggle, editorState, loadingToggle}) =>
{loadingToggle === true && }



const mapStateToProps = state => { return { currentDocument: state.currentDocument, editorState: state.editorState, highlightToggle: state.highlightToggle, loadingToggle: state.loadingToggle } } const JoyceReaderContentContainer = connect(mapStateToProps)(JoyceReaderContent) export default JoyceReaderContentContainer