Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/data/guestbook.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"componentName": "HelixIcon",
"contributor": "anishpras",
"date": "2025-01-19T11:29:00.000Z",
"githubUsername": "anishpras",
"id": "helix-icon",
"message": "Greetings from the helix!"
},
{
"componentName": "PaperAirplaneIcon",
"contributor": "kenjamin",
Expand Down
24 changes: 24 additions & 0 deletions src/icons/HelixIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";
import { IconProps } from "../types";

const HelixIcon: React.FC<IconProps> = ({ color = "currentColor", ...props }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth={2}
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<path d="M4 4c4 0 4 8 8 8s4-8 8-8" />
<path d="M4 20c4 0 4-8 8-8s4 8 8 8" />
<line x1="6" y1="7" x2="18" y2="17" />
<line x1="6" y1="17" x2="18" y2="7" />
</svg>
);
};

export default HelixIcon;
4 changes: 3 additions & 1 deletion src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import PortalDiscIcon from './PortalDiscIcon';
import SpiralIcon from './SpiralIcon';
import FireworksIcon from './FireworksIcon';
import PaperAirplaneIcon from './PaperAirplaneIcon';
import HelixIcon from './HelixIcon';

const iconComponents: Record<string, React.FC<any>> = {
StarIcon,
Expand All @@ -30,7 +31,8 @@ const iconComponents: Record<string, React.FC<any>> = {
PortalDiscIcon,
SpiralIcon,
FireworksIcon,
PaperAirplaneIcon
PaperAirplaneIcon,
HelixIcon
};

export default iconComponents;