Skip to content

Commit e1a69f6

Browse files
Merge pull request #1282 from kishore08-07/add-play-icon
Added PlayArrow icon
2 parents 0ce91ae + ac28b55 commit e1a69f6

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { KEPPEL_GREEN_FILL, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const PlayArrowIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = KEPPEL_GREEN_FILL,
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 d="M8 5v14l11-7z" fill={fill} />
19+
</svg>
20+
);
21+
};
22+
23+
export default PlayArrowIcon;

src/icons/PlayArrow/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export * from './PanTool';
9494
export * from './Pattern';
9595
export * from './People';
9696
export * from './Person';
97+
export * from './PlayArrow';
9798
export * from './Pod';
9899
export * from './Poll';
99100
export * from './Public';

0 commit comments

Comments
 (0)