score:0

Accepted answer
import "../../css/App.scss";
import React, { Component, PropTypes } from "react";
import Editor from "./Editor";
import Preview from "./Preview";

class App extends Component {
  render() {
    return (
      <div>
        <Editor />
        <Preview />
      </div>
    );
  }
}

export default App;

score:0

class Editor extends Component {
  ...
  render() {
    return (...);
  }
}

export default Editor;

Related Query

More Query from same tag