Skip to content

Commit e3b4cf4

Browse files
Merge pull request #1300 from Katotodan/feat/icons/cloud-icon
Feat: Add CloudIcon
2 parents 70a3a83 + 71365d3 commit e3b4cf4

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/icons/Cloud/CloudIcon.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { FC } from 'react';
2+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH, KEPPEL_GREEN_FILL } from '../../constants/constants';
3+
import { IconProps } from '../types';
4+
5+
export const CloudIcon: FC<IconProps> = ({
6+
width = DEFAULT_WIDTH,
7+
height = DEFAULT_HEIGHT,
8+
fill = KEPPEL_GREEN_FILL,
9+
...props
10+
}) => {
11+
return (
12+
<svg
13+
width={width}
14+
height={height}
15+
viewBox="0 0 24 24"
16+
xmlns="http://www.w3.org/2000/svg"
17+
fill={fill}
18+
{...props}
19+
>
20+
<path d="M18.42 9.21a7 7 0 0 0-13.36 1.9A4 4 0 0 0 6 19h11a5 5 0 0 0 1.42-9.79M17 17H6a2 2 0 0 1 0-4 1 1 0 0 0 1-1 5 5 0 0 1 9.73-1.61 1 1 0 0 0 .78.66A3 3 0 0 1 17 17"/>
21+
</svg>
22+
);
23+
};
24+
25+
export default CloudIcon;

src/icons/Cloud/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { default as CloudSavedIcon } from './CloudSavedIcon';
2+
export { default as CloudIcon } from './CloudIcon';

0 commit comments

Comments
 (0)