import * as React from "react"; import { BaseEditorWindowsProps } from "./editor-windows.pc"; import { RootState } from "../../../../state"; import { Dispatch } from "redux"; import { Editor } from "./editor.pc"; export type Props = { root: RootState; dispatch: Dispatch; }; export default (Base: React.ComponentClass) => class EditorWindowsController extends React.PureComponent { render() { const { root, dispatch } = this.props; return ( {root.editorWindows.map((editorWindow, i) => { return ( ); })} ); } };