Skip to content

Commit 01880e9

Browse files
committed
added slack icon
Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
1 parent 48dc923 commit 01880e9

3 files changed

Lines changed: 64 additions & 1 deletion

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import React from 'react';
2+
import { SlackIconProps } from './types';
3+
4+
const SlackIcon: React.FC<SlackIconProps> = ({
5+
width = 24,
6+
height = 24,
7+
primaryColor = '#E01E5A',
8+
secondaryColor = '#36C5F0',
9+
tertiaryColor = '#2EB67D',
10+
quaternaryColor = '#ECB22E',
11+
style
12+
}) => (
13+
<svg
14+
width={width}
15+
height={height}
16+
viewBox="0 0 24 24"
17+
xmlns="http://www.w3.org/2000/svg"
18+
style={style}
19+
>
20+
<path
21+
d="m8.843 12.651c-1.392 0-2.521 1.129-2.521 2.521v6.306c0 1.392 1.129 2.521 2.521 2.521s2.521-1.129 2.521-2.521v-6.306c-.001-1.392-1.13-2.521-2.521-2.521z"
22+
fill={primaryColor}
23+
/>
24+
<path
25+
d="m.019 15.172c0 1.393 1.13 2.523 2.523 2.523s2.523-1.13 2.523-2.523v-2.523h-2.521c-.001 0-.001 0-.002 0-1.393 0-2.523 1.13-2.523 2.523z"
26+
fill={secondaryColor}
27+
/>
28+
<path
29+
d="m8.846-.001c-.001 0-.002 0-.003 0-1.393 0-2.523 1.13-2.523 2.523s1.13 2.523 2.523 2.523h2.521v-2.523c0-.001 0-.003 0-.005-.001-1.391-1.128-2.518-2.518-2.518z"
30+
fill={tertiaryColor}
31+
/>
32+
<path
33+
d="m2.525 11.37h6.318c1.393 0 2.523-1.13 2.523-2.523s-1.13-2.523-2.523-2.523h-6.318c-1.393 0-2.523 1.13-2.523 2.523s1.13 2.523 2.523 2.523z"
34+
fill={quaternaryColor}
35+
/>
36+
<path
37+
d="m21.457 6.323c-1.391 0-2.518 1.127-2.518 2.518v.005 2.523h2.521c1.393 0 2.523-1.13 2.523-2.523s-1.13-2.523-2.523-2.523c-.001 0-.002 0-.003 0z"
38+
fill={primaryColor}
39+
/>
40+
<path
41+
d="m12.641 2.522v6.325c0 1.392 1.129 2.521 2.521 2.521s2.521-1.129 2.521-2.521v-6.325c0-1.392-1.129-2.521-2.521-2.521-1.392 0-2.521 1.129-2.521 2.521z"
42+
fill={secondaryColor}
43+
/>
44+
<path
45+
d="m17.682 21.476c0-1.392-1.129-2.521-2.521-2.521h-2.521v2.523c.001 1.391 1.129 2.519 2.521 2.519s2.521-1.129 2.521-2.521z"
46+
fill={tertiaryColor}
47+
/>
48+
<path
49+
d="m21.479 12.649h-6.318c-1.393 0-2.523 1.13-2.523 2.523s1.13 2.523 2.523 2.523h6.318c1.393 0 2.523-1.13 2.523-2.523s-1.13-2.523-2.523-2.523z"
50+
fill={quaternaryColor}
51+
/>
52+
</svg>
53+
);
54+
55+
export default SlackIcon;

src/icons/SocialMedial/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import FacebookIcon from './FacebookIcon';
22
import LinkedinIcon from './LinkedinIcon';
3+
import SlackIcon from './SlackIcon';
34
import TwitterIcon from './TwitterIcon';
45

5-
export { FacebookIcon, LinkedinIcon, TwitterIcon };
6+
export { FacebookIcon, LinkedinIcon, SlackIcon, TwitterIcon };

src/icons/SocialMedial/types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ export interface IconProps {
44
fill?: string;
55
style?: React.CSSProperties;
66
}
7+
8+
export interface SlackIconProps extends IconProps {
9+
primaryColor?: string;
10+
secondaryColor?: string;
11+
tertiaryColor?: string;
12+
quaternaryColor?: string;
13+
}

0 commit comments

Comments
 (0)