film-exif/src/Routes.js

18 lines
366 B
JavaScript
Raw Normal View History

2018-04-03 14:13:16 -04:00
import { Route, Switch } from 'inferno-router';
2018-05-03 14:44:48 -04:00
import {
CameraAddView,
FilmAddView,
HomeView,
OopsView,
2018-05-03 15:23:48 -04:00
} from '//views';
2018-04-03 14:13:16 -04:00
export const Routes = () => (
2018-04-03 14:13:16 -04:00
<Switch>
2018-05-03 14:44:48 -04:00
<Route exact path="/" component={HomeView} />
<Route path="/camera" component={CameraAddView} />
<Route path="/film" component={FilmAddView} />
<Route component={OopsView} />
2018-04-03 14:13:16 -04:00
</Switch>
);