{"size": 712, "ext": "js", "max_stars_repo_path": "src/components/SearchResultContainer/SearchResultContainer.js", "max_stars_repo_name": "josephriosIO/twitter", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/SearchResultContainer/SearchResultContainer.js", "max_issues_repo_name": "josephriosIO/twitter", "max_issues_repo_issues_event_min_datetime": "2021-03-02T00:57:03.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T23:09:11.000Z", "max_forks_repo_path": "src/components/SearchResultContainer/SearchResultContainer.js", "max_forks_repo_name": "reshufflehq/twitter-sentiment-example", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 11, "max_forks_count": null, "avg_line_length": 29.6666666667, "max_line_length": 75, "alphanum_fraction": 0.6769662921}
/* eslint-disable react/prop-types */
import '@reshuffle/code-transform/macro';
import React from 'react';
import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import SearchResult from '../SearchResult/SearchResult';
import HistoryTable from '../HistoryTable/HistoryTable';
import Footer from '../Footer/Footer';
import './SearchResultContainer.css';

export default function SearchResultContainer({ result, history }) {
  return (
    <React.Fragment>
      <Row>
        <Col>
          {result.details && <SearchResult result={result}></SearchResult>}
          <HistoryTable history={history}></HistoryTable>
        </Col>
      </Row>
      <Footer />
    </React.Fragment>
  );
}
