{"size": 503, "ext": "js", "max_stars_repo_path": "web-react/src/components/freesolo.js", "max_stars_repo_name": "jonnyk17/grandstack-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web-react/src/components/freesolo.js", "max_issues_repo_name": "jonnyk17/grandstack-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web-react/src/components/freesolo.js", "max_forks_repo_name": "jonnyk17/grandstack-app", "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": 25.15, "max_line_length": 84, "alphanum_fraction": 0.578528827}
import React from 'react';
import TextField from '@material-ui/core/TextField';
import Autocomplete from '@material-ui/lab/Autocomplete';

export default function FreeSolo({ list, ...props }) {

  return (
    <div style={{ width: 290 }}>
      <Autocomplete
        id="free-solo-demo"
        freeSolo
        options={list}
        {...props}
        renderInput={(params) => (
          <TextField {...params} label="Event" margin="normal" variant="outlined" />
        )}
      />
    </div>
  );
}