Skip to content

Commit 2945f5c

Browse files
committed
added arrowBack icon
Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
1 parent 075b8dc commit 2945f5c

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const ArrowBackIcon = ({
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="arrow-back-icon-svg"
17+
{...props}
18+
>
19+
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" fill={fill} />
20+
</svg>
21+
);
22+
};
23+
24+
export default ArrowBackIcon;

src/icons/ArrowBack/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export * from './Academy';
22
export * from './Add';
33
export * from './AddCircle';
44
export * from './Application';
5+
export * from './ArrowBack';
56
export * from './ArrowCompress';
67
export * from './ArrowExpand';
78
export * from './Bell';

0 commit comments

Comments
 (0)