Skip to content

Commit 5c4f7cc

Browse files
committed
setup with react router
1 parent dd8c546 commit 5c4f7cc

File tree

1 file changed

+6
-0
lines changed
  • server/client/src/components

1 file changed

+6
-0
lines changed

server/client/src/components/App.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
import React from 'react';
2+
import { BrowserRouter, Route } from 'react-router-dom';
3+
4+
const Header = () => <h2>Header</h2>;
5+
const Dashboard = () => <h2>Dashboard</h2>;
6+
const SurveyNew = () => <h2>SurveyNew</h2>;
7+
const Landing = () => <h2>Landing</h2>;
28

39
const App = () => {
410
return (

0 commit comments

Comments
 (0)