Skip to content

Commit e2f9b22

Browse files
Merge pull request #1332 from Bhumikagarggg/add-CompareArrows-Icon
add CompareArrow Icon
2 parents 5fd8c2e + 2f44ef3 commit e2f9b22

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const CompareArrowsIcon = ({
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+
data-testid="circle-icon-svg"
17+
{...props}
18+
>
19+
<path
20+
d="M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"
21+
fill={fill}
22+
/>
23+
</svg>
24+
);
25+
};
26+
27+
export default CompareArrowsIcon;

src/icons/CompareArrows/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export * from './Close';
1818
export * from './Cloud';
1919
export * from './CollapseAll';
2020
export * from './Column';
21+
export * from './CompareArrows';
2122
export * from './Component';
2223
export * from './Configuration';
2324
export * from './ContentFilter';

0 commit comments

Comments
 (0)