Skip to content

Commit df16133

Browse files
committed
feat: add TrophyIcon component and export from icons index
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
1 parent b5f0f95 commit df16133

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

src/icons/Tropy/TropyIcon.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from 'react';
2+
3+
interface TrophyIconProps {
4+
width?: string;
5+
height?: string;
6+
fill?: string;
7+
style?: React.CSSProperties;
8+
}
9+
10+
const TrophyIcon: React.FC<TrophyIconProps> = ({
11+
width = '24',
12+
height = '24',
13+
fill = 'currentColor',
14+
style = {}
15+
}) => (
16+
<svg
17+
xmlns="http://www.w3.org/2000/svg"
18+
viewBox="0 0 24 24"
19+
width={width}
20+
height={height}
21+
fill={fill}
22+
style={style}
23+
>
24+
<path d="M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"></path>
25+
</svg>
26+
);
27+
28+
export default TrophyIcon;

src/icons/Tropy/index.ts

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

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export * from './TerminalIcon';
9494
export * from './Toolkit';
9595
export * from './Touch';
9696
export * from './Triangle';
97+
export * from './Tropy';
9798
export * from './Undeploy';
9899
export * from './Undo';
99100
export * from './Validate';

0 commit comments

Comments
 (0)