{"size": 308, "ext": "js", "max_stars_repo_path": "React/ExerciseReactComponents/my-app/src/components/Character.js", "max_stars_repo_name": "nikiqta/HomeWork", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "React/ExerciseReactComponents/my-app/src/components/Character.js", "max_issues_repo_name": "nikiqta/HomeWork", "max_issues_repo_issues_event_min_datetime": "2018-03-24T23:21:56.000Z", "max_issues_repo_issues_event_max_datetime": "2018-07-18T10:34:07.000Z", "max_forks_repo_path": "React/ExerciseReactComponents/my-app/src/components/Character.js", "max_forks_repo_name": "nikiqta/HomeWork", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 30.8, "max_line_length": 159, "alphanum_fraction": 0.6655844156}
import React from 'react';
import observerMenu from './observer.js';

let Character = (props) => {
    return (
            <img onClick={() => observerMenu.executeObserver("changeFocus", {id:props.params.id})} alt='heroAvatar' className='heroes' src={props.params.url}/>
    );
};

export default Character;