aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/page
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-06 13:16:31 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-06 13:16:31 +0100
commit928edee90f4a35eea20d581e093b002be04e9b47 (patch)
treeeda84001c4ed3c25f2a3056ba5c28aba2320a6b2 /src/client/react/components/page
parent70a9b0be3782122750388c24eb98b0d45e6fc6d1 (diff)
Move LandingPage.js to component/page/Index.js
Diffstat (limited to 'src/client/react/components/page')
-rw-r--r--src/client/react/components/page/Index.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client/react/components/page/Index.js b/src/client/react/components/page/Index.js
new file mode 100644
index 0000000..dcc521d
--- /dev/null
+++ b/src/client/react/components/page/Index.js
@@ -0,0 +1,16 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+import Search from '../container/Search';
+
+const App = ({ location }) => (
+ <div>
+ <Search location={location} />
+ </div>
+);
+
+App.propTypes = {
+ // eslint-disable-next-line react/forbid-prop-types
+ location: PropTypes.object.isRequired,
+};
+
+export default App;