{"size": 797, "ext": "js", "max_stars_repo_path": "src/components/PlatformIcon.js", "max_stars_repo_name": "datguysheepy/inbundle.games", "max_stars_repo_stars_event_min_datetime": "2020-05-13T21:35:53.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-14T09:22:14.000Z", "max_issues_repo_path": "src/components/PlatformIcon.js", "max_issues_repo_name": "datguysheepy/inbundle.games", "max_issues_repo_issues_event_min_datetime": "2020-05-12T11:22:48.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-04T22:37:39.000Z", "max_forks_repo_path": "src/components/PlatformIcon.js", "max_forks_repo_name": "datguysheepy/inbundle.games", "max_forks_repo_forks_event_min_datetime": "2020-10-28T17:40:54.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-28T17:40:54.000Z"}
{"max_stars_count": 2, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 22.7714285714, "max_line_length": 115, "alphanum_fraction": 0.5558343789}
import React from 'react';
import { Windows, Linux, Android, Apple, Nintendoswitch, Xbox, Playstation } from '@icons-pack/react-simple-icons';


const PlatformIcon = props => (
    <span
        className="svg-icon"
    >
    	{
			props.name === 'PC' ?
				<Windows size={12}/>
			:
			props.name === 'Linux' ?
				<Linux size={12}/>
			:
			props.name === 'PlaysStation 4' || props.name === 'PlayStation 3' ?
				<Playstation size={12}/>
			:
			props.name === 'Xbox One' || props.name === 'Xbox 360' ?
				<Xbox size={12}/>
			:
			props.name === 'Nintendo Switch' ?
				<Nintendoswitch size={12}/>
			:
			props.name === 'Android' ?
				<Android size={12}/>
			:
			props.name === 'iOS' || props.name === 'macOS' ?
				<Apple size={12}/>
			: null
		}
	</span>
);

export default PlatformIcon;