Skip to content

Commit f45fb7d

Browse files
Merge pull request #1429 from indevi/fileupload
Add FileUpload Icon
2 parents 1d3db29 + e3d33e4 commit f45fb7d

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL_NONE } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const FileUploadIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL_NONE,
8+
...props
9+
}: IconProps): JSX.Element => {
10+
return (
11+
<svg
12+
width={width}
13+
height={height}
14+
xmlns="http://www.w3.org/2000/svg"
15+
viewBox="0 0 24 24"
16+
{...props}
17+
>
18+
<path
19+
d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
20+
fill={fill}
21+
/>
22+
</svg>
23+
);
24+
};
25+
export default FileUploadIcon;

src/icons/FileUpload/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export * from './Favorite';
7676
export * from './Feedback';
7777
export * from './FileCopy';
7878
export * from './File';
79+
export * from './FileUpload';
7980
export { default as FilledCircleIcon } from './FilledCircleIcon';
8081
export * from './Filter';
8182
export * from './FolderRounded';

0 commit comments

Comments
 (0)