From 3cbec72d3618d76a6fa8d5fc0e5d889aae3176f4 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Sun, 27 Aug 2017 20:41:51 -0500 Subject: [PATCH] feature(cryptoicon): create cryptoicon component --- app/components/CryptoIcon/CryptoIcon.js | 17 +++++++++++++++++ app/components/CryptoIcon/CryptoIcon.scss | 0 app/components/CryptoIcon/index.js | 0 3 files changed, 17 insertions(+) create mode 100644 app/components/CryptoIcon/CryptoIcon.js create mode 100644 app/components/CryptoIcon/CryptoIcon.scss create mode 100644 app/components/CryptoIcon/index.js diff --git a/app/components/CryptoIcon/CryptoIcon.js b/app/components/CryptoIcon/CryptoIcon.js new file mode 100644 index 00000000..ee812ed2 --- /dev/null +++ b/app/components/CryptoIcon/CryptoIcon.js @@ -0,0 +1,17 @@ +import React from 'react' +import PropTypes from 'prop-types' +import { FaBitcoin } from 'react-icons/lib/fa' +// import Litecoin from '../resources/' + +const CryptoIcon = ({ currency }) => { + switch(currency) { + case 'btc': + return () + break + case 'ltc': + return LTC + break + default: + return + } +} \ No newline at end of file diff --git a/app/components/CryptoIcon/CryptoIcon.scss b/app/components/CryptoIcon/CryptoIcon.scss new file mode 100644 index 00000000..e69de29b diff --git a/app/components/CryptoIcon/index.js b/app/components/CryptoIcon/index.js new file mode 100644 index 00000000..e69de29b