Skip to content

Commit fd815d6

Browse files
authored
Merge pull request #1056 from vr-varad/fix/add_icon
Fix: Add OpenFileIcon
2 parents 1e26ba3 + 9b8f427 commit fd815d6

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/icons/Open/OpenFileIcon.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { FC } from 'react';
2+
import { DEFAULT_WIDTH } from '../../constants/constants';
3+
import { IconProps } from '../types';
4+
5+
export const OpenFileIcon: FC<IconProps> = ({
6+
width = DEFAULT_WIDTH,
7+
height = DEFAULT_WIDTH,
8+
fill = 'currentColor',
9+
...props
10+
}) => (
11+
<svg
12+
xmlns="http://www.w3.org/2000/svg"
13+
width={width}
14+
height={height}
15+
viewBox="0 0 256 256"
16+
fill={fill}
17+
{...props}
18+
>
19+
<path
20+
d="M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z"
21+
fill={fill}
22+
></path>
23+
</svg>
24+
);
25+
26+
export default OpenFileIcon;

src/icons/Open/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
import OpenFileIcon from './OpenFileIcon';
12
import OpenIcon from './OpenIcon';
2-
export { OpenIcon };
3+
export { OpenFileIcon, OpenIcon };

0 commit comments

Comments
 (0)