blob: dcc521d3dc2588758850d85c2d6798aaba4a1be5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
|