-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSocials.tsx
More file actions
26 lines (24 loc) · 776 Bytes
/
Socials.tsx
File metadata and controls
26 lines (24 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from 'react';
import { SocialsContainer, SocialIcon } from './Socials.components';
import AllSocialsProps from './Socials.types';
const AllSocials: React.FC<AllSocialsProps> = ({
isFooter,
link,
email,
github,
facebook,
twitter,
linkedin,
instagram,
}) => (
<SocialsContainer isFooter={isFooter}>
<SocialIcon url={link} social="link" />
<SocialIcon url={email} social="email" />
<SocialIcon url={github} social="github" />
<SocialIcon url={facebook} social="facebook" />
<SocialIcon url={twitter} social="twitter" />
<SocialIcon url={instagram} social="instagram" />
<SocialIcon url={linkedin} social="linkedin" />
</SocialsContainer>
);
export default AllSocials;