Skip to content

Commit

Permalink
feat: add money icon (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: dev-redo <[email protected]>
  • Loading branch information
dev-redo and dev-redo authored May 2, 2024
1 parent 30d9a3f commit 7e16d19
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/components/Icon/CurrencyWon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { type IconProps } from './type';
import { color } from '../styles';

export function CurrencyWon({ color: c = color['grey-80'], size = 20 }: IconProps) {
return (
<svg
width={size}
height={size}
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4.66667 5L7.36273 14.9998L10 6.67017L12.5714 15L15.3333 5M16 8.34033H4M16 11.25H4"
stroke={c}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
2 changes: 2 additions & 0 deletions src/components/Icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import { ToastSuccess } from './ToastSuccess';
import { Trash } from './Trash';
import { Upload } from './Upload';
import { UserCircle } from './UserCircle';
import { CurrencyWon } from './CurrencyWon';

const Icon = {
Add,
Expand Down Expand Up @@ -100,6 +101,7 @@ const Icon = {
ToastError,
ToastSuccess,
PictureSearch,
CurrencyWon,
};

export default Icon;

0 comments on commit 7e16d19

Please sign in to comment.