-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLinkedin.tsx
36 lines (33 loc) · 977 Bytes
/
Linkedin.tsx
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
27
28
29
30
31
32
33
34
35
36
import React, { FC } from "react";
import { StyledSocialMediaWrapper } from "./Twitter";
interface ILinkedinIconProps {
color: string;
linkedinUrl: string;
}
const LinkedinIcon: FC<React.PropsWithChildren<ILinkedinIconProps>> = ({
color,
linkedinUrl,
}) => {
return (
<StyledSocialMediaWrapper href={linkedinUrl} target={"_blank"}>
<svg
data-icon="linkedin-icon"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill={color}
stroke={color}
strokeWidth="0.5"
strokeLinecap="round"
strokeLinejoin="round"
className="feather feather-linkedin"
>
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path>
<rect x="2" y="9" width="4" height="12"></rect>
<circle cx="4" cy="4" r="2"></circle>
</svg>
</StyledSocialMediaWrapper>
);
};
export default LinkedinIcon;