{"size": 433, "ext": "js", "max_stars_repo_path": "sole-and-ankle/src/components/App/App.js", "max_stars_repo_name": "rbarden/css-for-js-workshops", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "sole-and-ankle/src/components/App/App.js", "max_issues_repo_name": "rbarden/css-for-js-workshops", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "sole-and-ankle/src/components/App/App.js", "max_forks_repo_name": "rbarden/css-for-js-workshops", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.32, "max_line_length": 59, "alphanum_fraction": 0.6073903002}
import React from 'react';
import styled from 'styled-components/macro';

import Header from '../Header';
import ShoeIndex from '../ShoeIndex';

const App = () => {
  const [sortId, setSortId] = React.useState('newest');

  return (
    <>
      <Header />
      <Main>
        <ShoeIndex sortId={sortId} setSortId={setSortId} />
      </Main>
    </>
  );
};

const Main = styled.main`
  padding: 64px 32px;
`;

export default App;
