{"size": 316, "ext": "js", "max_stars_repo_path": "src/js/components/CoinLogo/index.js", "max_stars_repo_name": "mac-s-g/coinorbital-app", "max_stars_repo_stars_event_min_datetime": "2018-01-10T16:05:17.000Z", "max_stars_repo_stars_event_max_datetime": "2018-01-10T16:05:17.000Z", "max_issues_repo_path": "src/js/components/CoinLogo/index.js", "max_issues_repo_name": "mac-s-g/coinorbital-app", "max_issues_repo_issues_event_min_datetime": "2017-12-27T23:48:35.000Z", "max_issues_repo_issues_event_max_datetime": "2017-12-27T23:48:35.000Z", "max_forks_repo_path": "src/js/components/CoinLogo/index.js", "max_forks_repo_name": "mac-s-g/coinorbital-app", "max_forks_repo_forks_event_min_datetime": "2017-12-24T00:04:20.000Z", "max_forks_repo_forks_event_max_datetime": "2017-12-24T00:04:20.000Z"}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 28.7272727273, "max_line_length": 60, "alphanum_fraction": 0.6075949367}
import React from "react"
import { Icon, Image } from "semantic-ui-react"
import * as svgs from "./CoinLogos"

export default ({ symbol, ...props }) =>
  svgs[symbol.toLowerCase()] ? (
    <Image src={svgs[symbol.toLowerCase()]} {...props} />
  ) : (
    <Icon name="image" size="big" color="grey" {...props} />
  )
