simple-translate/src/content/index.js

7 lines
298 B
JavaScript
Raw Normal View History

2019-02-21 16:43:45 +00:00
import React from "react";
import ReactDOM from "react-dom";
import TranslateContainer from "./components/TranslateContainer";
document.body.insertAdjacentHTML("beforeend", "<div id='simple-translate'></div>");
2019-02-21 16:43:45 +00:00
ReactDOM.render(<TranslateContainer />, document.getElementById("simple-translate"));