Skip to content

Commit 1f58a4c

Browse files
chore: new icons
1 parent e37fec8 commit 1f58a4c

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

src/icons.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export { default as ArrowLeft } from "./icons/ArrowLeft";
33
export { default as ArrowLinkRight } from "./icons/ArrowLinkRight";
44
export { default as ArrowLinkUpRight } from "./icons/ArrowLinkUpRight";
55
export { default as ArrowRight } from "./icons/ArrowRight";
6+
export { default as ArrowUp } from "./icons/ArrowUp";
67
export { default as AuthorIcon } from "./icons/AuthorIcon";
78
export { default as BitcoinIcon } from "./icons/BitcoinIcon";
89
export { default as BookmarkIcon } from "./icons/BookmarkIcon";
@@ -15,6 +16,7 @@ export { default as DiscordIcon } from "./icons/DiscordIcon";
1516
export { default as FilterIcon } from "./icons/FilterIcon";
1617
export { default as FilterCloseIcon } from "./icons/FilterCloseIcon";
1718
export { default as GithubIcon } from "./icons/GithubIcon";
19+
export { default as LightningIconSolid } from "./icons/LightningIconSolid";
1820
export { default as MicIcon } from "./icons/MicIcon";
1921
export { default as NightIcon } from "./icons/NightIcon";
2022
export { default as NostrIcon } from "./icons/NostrIcon";

src/icons/ArrowUp.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
const ArrowUp = ({
4+
width = 12,
5+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6+
height,
7+
pathProps,
8+
...props
9+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
10+
// height is destructed and unused, scaling is defined by width
11+
return (
12+
<svg
13+
width={width}
14+
viewBox="0 0 12 8"
15+
fill="none"
16+
xmlns="http://www.w3.org/2000/svg"
17+
{...props}
18+
>
19+
<path
20+
fillRule="evenodd"
21+
clipRule="evenodd"
22+
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"
23+
fill="currentColor"
24+
{...pathProps}
25+
/>
26+
</svg>
27+
);
28+
};
29+
export default ArrowUp;

src/icons/LightningIconSolid.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
const LightningIconSolid = ({
4+
width = 14,
5+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6+
height,
7+
pathProps,
8+
...props
9+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
10+
// height is destructed and unused, scaling is defined by width
11+
return (
12+
<svg
13+
width={width}
14+
viewBox="0 0 14 17"
15+
fill="none"
16+
xmlns="http://www.w3.org/2000/svg"
17+
{...props}
18+
>
19+
<path
20+
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"
21+
fill="currentColor"
22+
{...pathProps}
23+
/>
24+
</svg>
25+
);
26+
};
27+
export default LightningIconSolid;

0 commit comments

Comments
 (0)