{"size": 379, "ext": "js", "max_stars_repo_path": "src/components/SearchBar.js", "max_stars_repo_name": "eypsrcnuygr/FILM_SHELF_FRONTEND", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/SearchBar.js", "max_issues_repo_name": "eypsrcnuygr/FILM_SHELF_FRONTEND", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/SearchBar.js", "max_forks_repo_name": "eypsrcnuygr/FILM_SHELF_FRONTEND", "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": 22.2941176471, "max_line_length": 63, "alphanum_fraction": 0.5540897098}
import React from 'react';

function SearchBar(props) {

    return (
        <input
            className="border-2 rounded-lg py-3 mt-2 mx-2 px-6"
            value={props.result.name}
            placeholder={props.placeholder}
            onChange={props.searchChange}
            name={props.name}
            type={props.type}
        />
    )
};

export default SearchBar;