Skip to content

Commit

Permalink
chore: new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel-Develops committed Nov 19, 2024
1 parent e37fec8 commit 1f58a4c
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export { default as ArrowLeft } from "./icons/ArrowLeft";
export { default as ArrowLinkRight } from "./icons/ArrowLinkRight";
export { default as ArrowLinkUpRight } from "./icons/ArrowLinkUpRight";
export { default as ArrowRight } from "./icons/ArrowRight";
export { default as ArrowUp } from "./icons/ArrowUp";
export { default as AuthorIcon } from "./icons/AuthorIcon";
export { default as BitcoinIcon } from "./icons/BitcoinIcon";
export { default as BookmarkIcon } from "./icons/BookmarkIcon";
Expand All @@ -15,6 +16,7 @@ export { default as DiscordIcon } from "./icons/DiscordIcon";
export { default as FilterIcon } from "./icons/FilterIcon";
export { default as FilterCloseIcon } from "./icons/FilterCloseIcon";
export { default as GithubIcon } from "./icons/GithubIcon";
export { default as LightningIconSolid } from "./icons/LightningIconSolid";
export { default as MicIcon } from "./icons/MicIcon";
export { default as NightIcon } from "./icons/NightIcon";
export { default as NostrIcon } from "./icons/NostrIcon";
Expand Down
29 changes: 29 additions & 0 deletions src/icons/ArrowUp.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as React from "react";
import { SVGProps } from "react";
const ArrowUp = ({
width = 12,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
height,
pathProps,
...props
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
// height is destructed and unused, scaling is defined by width
return (
<svg
width={width}
viewBox="0 0 12 8"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M7.2385 0.854784C7.01816 0.627604 6.71947 0.5 6.40804 0.5C6.09662 0.5 5.79793 0.627604 5.57759 0.854784L1.14482 5.42909C0.924461 5.65667 0.800708 5.96529 0.800781 6.28705C0.800855 6.60882 0.924748 6.91738 1.14521 7.14485C1.36567 7.37233 1.66463 7.50008 1.97634 7.5C2.28804 7.49992 2.58695 7.37203 2.8073 7.14445L6.40804 3.42743L10.0088 7.14445C10.2303 7.36554 10.5271 7.48796 10.8353 7.48535C11.1434 7.48274 11.4382 7.3553 11.6562 7.13048C11.8742 6.90566 11.9979 6.60145 12.0007 6.28337C12.0036 5.9653 11.8852 5.6588 11.6713 5.4299L7.23929 0.853974L7.2385 0.854784Z"
fill="currentColor"
{...pathProps}
/>
</svg>
);
};
export default ArrowUp;
27 changes: 27 additions & 0 deletions src/icons/LightningIconSolid.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import * as React from "react";
import { SVGProps } from "react";
const LightningIconSolid = ({
width = 14,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
height,
pathProps,
...props
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
// height is destructed and unused, scaling is defined by width
return (
<svg
width={width}
viewBox="0 0 14 17"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M13.0778 7.33566L4.44176 16.2157C4.20176 16.4617 3.80376 16.1767 3.95976 15.8707L7.03376 9.80466C7.05704 9.75888 7.06818 9.70788 7.06611 9.65656C7.06404 9.60524 7.04883 9.55531 7.02193 9.51156C6.99504 9.4678 6.95736 9.43168 6.9125 9.40666C6.86765 9.38164 6.81712 9.36855 6.76576 9.36866H0.299757C0.240699 9.36861 0.182969 9.35113 0.133802 9.31841C0.0846347 9.2857 0.046218 9.23919 0.0233668 9.18473C0.000515729 9.13028 -0.00575341 9.07028 0.00534526 9.01228C0.0164439 8.95427 0.0444169 8.90083 0.0857577 8.85866L8.09576 0.743657C8.32776 0.508657 8.71376 0.766657 8.58476 1.07166L6.28776 6.48666C6.26831 6.53256 6.26061 6.5826 6.26535 6.63223C6.2701 6.68186 6.28714 6.72952 6.31493 6.77092C6.34272 6.81231 6.38039 6.84612 6.42454 6.8693C6.46868 6.89247 6.5179 6.90428 6.56776 6.90366L12.8588 6.82566C12.9181 6.8247 12.9764 6.84139 13.0263 6.8736C13.0762 6.90581 13.1154 6.95209 13.139 7.00659C13.1625 7.0611 13.1694 7.12136 13.1587 7.17976C13.1479 7.23816 13.1201 7.29207 13.0788 7.33466L13.0778 7.33566Z"
fill="currentColor"
{...pathProps}
/>
</svg>
);
};
export default LightningIconSolid;

0 comments on commit 1f58a4c

Please sign in to comment.