diff options
Diffstat (limited to 'src/client/react/components')
-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; |