{"size": 433, "ext": "js", "max_stars_repo_path": "src/frontend/components/Search.js", "max_stars_repo_name": "angelbarusta/Server-side-render", "max_stars_repo_stars_event_min_datetime": "2020-06-09T09:52:45.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-09T09:52:45.000Z", "max_issues_repo_path": "src/frontend/components/Search.js", "max_issues_repo_name": "angelbarusta/Server-side-render", "max_issues_repo_issues_event_min_datetime": "2020-04-03T00:00:38.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-13T09:53:53.000Z", "max_forks_repo_path": "src/frontend/components/Search.js", "max_forks_repo_name": "angelbarusta/Server-side-render", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 24.0555555556, "max_line_length": 74, "alphanum_fraction": 0.6512702079}
import React from "react";
import classNames from "classnames";
import "../assets/styles/components/Search.scss";

const Search = ({ isHome }) => {
  const inputStyle = classNames("input", {
    isHome
  });
  return (
    <section className='main'>
      <h2 className='main__title'>¿Qué quieres ver hoy?</h2>
      <input type='text' className={inputStyle} placeholder='Buscar...' />
    </section>
  );
};

export default Search;
