diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-01-06 13:16:31 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-01-06 13:16:31 +0100 |
commit | 928edee90f4a35eea20d581e093b002be04e9b47 (patch) | |
tree | eda84001c4ed3c25f2a3056ba5c28aba2320a6b2 /src/client/react/components/page | |
parent | 70a9b0be3782122750388c24eb98b0d45e6fc6d1 (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.js | 16 |
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; |