Files
scratch-gui/src/index.js
T
Christopher Willis-Ford b83c082bf1 Expose AppStateHOC component
For use from `scratch-desktop` and maybe other places...
2018-09-20 14:11:36 -07:00

29 lines
787 B
JavaScript

import GUI from './containers/gui.jsx';
import AppStateHOC from './lib/app-state-hoc.jsx';
import GuiReducer, {guiInitialState, guiMiddleware, initFullScreen, initPlayer} from './reducers/gui';
import LocalesReducer, {localesInitialState, initLocale} from './reducers/locales';
import {ScratchPaintReducer} from 'scratch-paint';
import {setFullScreen, setPlayer} from './reducers/mode';
import {setAppElement} from 'react-modal';
const guiReducers = {
locales: LocalesReducer,
scratchGui: GuiReducer,
scratchPaint: ScratchPaintReducer
};
export {
GUI as default,
AppStateHOC,
setAppElement,
guiReducers,
guiInitialState,
guiMiddleware,
initPlayer,
initFullScreen,
initLocale,
localesInitialState,
setFullScreen,
setPlayer
};