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:
parent
909153e817
commit
2894d8e21a
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user