Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import * as React from 'react';
  2. import * as Router from 'react-router';
  3. import { Route, IndexRoute, hashHistory } from 'react-router';
  4.  
  5. const Temp = () => {
  6. return (
  7. <div>
  8. temp page.
  9. </div>
  10. );
  11. };
  12.  
  13. export default (
  14. <Router history={hashHistory}>
  15. <Route path='/' component={Temp}>
  16. </Route>
  17. </Router>
  18. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement