@@ -7,6 +7,7 @@ import TikTok from '../../assets/svg/TikTok'
7
7
import Twitter from '../../assets/svg/Twitter'
8
8
import Vimeo from '../../assets/svg/Vimeo'
9
9
import YouTube from '../../assets/svg/YouTube'
10
+ import LinkedIn from '../../assets/svg/LinkedIn'
10
11
import './social-icon.css'
11
12
12
13
const iconsList = {
@@ -17,6 +18,7 @@ const iconsList = {
17
18
twitter : ( height , color ) => < Twitter height = { height } fill = { color } /> ,
18
19
vimeo : ( height , color ) => < Vimeo height = { height } fill = { color } /> ,
19
20
youtube : ( height , color ) => < YouTube height = { height } fill = { color } /> ,
21
+ linkedin : ( height , color ) => < LinkedIn height = { height } fill = { color } /> ,
20
22
}
21
23
22
24
const SocialIcon = ( { addClass, color, height, icon, url } ) => (
@@ -29,7 +31,7 @@ SocialIcon.propTypes = {
29
31
addClass : PropTypes . string ,
30
32
color : PropTypes . string ,
31
33
height : PropTypes . number ,
32
- icon : PropTypes . oneOf ( [ 'facebook' , 'instagram' , 'rss' , 'tiktok' , 'twitter' , 'vimeo' , 'youtube' ] ) . isRequired ,
34
+ icon : PropTypes . oneOf ( [ 'facebook' , 'instagram' , 'rss' , 'tiktok' , 'twitter' , 'vimeo' , 'youtube' , 'linkedin' ] ) . isRequired ,
33
35
url : PropTypes . string . isRequired ,
34
36
}
35
37
0 commit comments