Guest User

Untitled

a guest
Jun 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import * as React from 'react';
  2. import * as ReactDOM from 'react-dom';
  3. import { AppView } from './View/AppView';
  4.  
  5. (function () {
  6.  
  7. Office.initialize = () => {
  8. console.log("Office initialized");
  9. renderApp();
  10. }
  11.  
  12. const renderApp = () => {
  13.  
  14. ReactDOM.render(
  15. <AppView/>,
  16. document.getElementById('root')
  17. );
  18. }
  19. })();
Add Comment
Please, Sign In to add comment