Sha256: 273829581d780e26fd328d78d88c5565a8842ba137a7ab9dce9be2806a851242
Contents?: true
Size: 401 Bytes
Versions: 17
Compression:
Stored size: 401 Bytes
Contents
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { BrowserRouter as Router } from "react-router-dom"; import App from './App'; import './index.css'; import { IGlobalWindow } from './interfaces'; declare var window: IGlobalWindow ReactDOM.render( <Router basename={window.mountPath || "/"}> <App /> </Router> , document.getElementById('root') as HTMLElement );
Version data entries
17 entries across 17 versions & 1 rubygems