aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/page/Index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components/page/Index.js')
-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;