// App.js
import React from 'react';
import { Router } from "@reach/router";
import Main from './Main';
import SplitThis from './SplitThis';
import './App.css';
const App = () => (
<div className="App">
<Router>
<Main default path="/" />
<SplitThis path="/split" />
</Router>
</div>
);
export default App;
view raw block8.js hosted with ❤ by GitHub