Skip to content

Commit 4598a4a

Browse files
authored
Merge pull request #1051 from amitamrutiya/add-export-icon
feat: add export icon
2 parents 8332a5f + 1701fa5 commit 4598a4a

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

src/icons/Export/ExportIcon.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { FC } from 'react';
2+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
3+
import { IconProps } from '../types';
4+
5+
export const DownloadIcon: FC<IconProps> = ({
6+
width = DEFAULT_WIDTH,
7+
height = DEFAULT_HEIGHT,
8+
fill = '#455a64',
9+
style = {}
10+
}) => (
11+
<svg
12+
xmlns="http://www.w3.org/2000/svg"
13+
height={height}
14+
viewBox="0 0 24 24"
15+
width={width}
16+
fill={fill}
17+
style={style}
18+
>
19+
<path d="M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"></path>
20+
</svg>
21+
);
22+
23+
export default DownloadIcon;

src/icons/Export/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export * from './Drag';
5858
export * from './Edit';
5959
export * from './EmptyStyle';
6060
export * from './Environment';
61+
export * from './Export';
6162
export * from './ExternalLink';
6263
export * from './Feedback';
6364
export * from './File';

0 commit comments

Comments
 (0)