// SettingsToggler -> Required by Main // -------------------------------------- // Handles Settings toggling. Straightforward stuff. import React from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; const toggleSettings = (props) => { props.dispatch({ 'type': "SETTINGS_TOGGLE_ACTIVE" }); }; export const SettingsToggler = (props) => { let classes = ['settings-toggler']; return ReactDOM.createPortal(