{"size": 607, "ext": "js", "max_stars_repo_path": "sample/index.js", "max_stars_repo_name": "stSoftwareAU/JSX-aws-lambda", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "sample/index.js", "max_issues_repo_name": "stSoftwareAU/JSX-aws-lambda", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "sample/index.js", "max_forks_repo_name": "stSoftwareAU/JSX-aws-lambda", "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": 18.96875, "max_line_length": 47, "alphanum_fraction": 0.6457990115}
import React from "react";
import ReactDOM from "react-dom";
import Select from 'react-select'

function myFunction(x, y = 10) {
  // y is 10 if not passed or undefined
  return x + y;
}
myFunction(5); // will return 15

const options = [
  { value: 'chocolate', label: 'Chocolate' },
  { value: 'strawberry', label: 'Strawberry' },
  { value: 'vanilla', label: 'Vanilla' }
]

const MyComponent = () => (
  <Select options={options} />
);
const name = 'Josh Perez';
const element = <div>
<h1>Hello, {name}</h1>
<br/>
<MyComponent/>
</div>
;

ReactDOM.render(
  element,
  document.getElementById('root')
);
