import React from 'react';
import GithubCorner from 'react-github-corner';
import { SearchBar } from 'views/components/searchBar';


const App = ({children}) => (
  <div>
    <GithubCorner href="//github.com/raycent/ARWM_Exercise_Redux" />

    <div className="searchBar">
      <SearchBar />
    </div>

    <main>{children}</main>
  </div>
);

App.propTypes = {
  children: React.PropTypes.element
};

export default App;
