1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00

fix email icon

This commit is contained in:
Matthias Kretschmann 2019-11-17 15:29:53 +01:00
parent 909153e817
commit 2894d8e21a
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -14,7 +14,8 @@ import {
Compass, Compass,
FileText, FileText,
Key, Key,
Image Image,
Mail
} from 'react-feather' } from 'react-feather'
import { ReactComponent as Dribbble } from '../../images/dribbble.svg' import { ReactComponent as Dribbble } from '../../images/dribbble.svg'
import styles from './Icon.module.scss' import styles from './Icon.module.scss'
@ -22,6 +23,7 @@ import styles from './Icon.module.scss'
const Icon = ({ name, ...props }) => { const Icon = ({ name, ...props }) => {
const components = { const components = {
Dribbble, Dribbble,
Email: Mail,
Link: Compass, Link: Compass,
Download: ArrowDownCircle, Download: ArrowDownCircle,
'Info & Download': ArrowDownCircle, 'Info & Download': ArrowDownCircle,
@ -38,7 +40,8 @@ const Icon = ({ name, ...props }) => {
Compass, Compass,
FileText, FileText,
Key, Key,
Image Image,
Mail
} }
const IconMapped = components[name] const IconMapped = components[name]